graphql-hive / graphql-hive/console

optional configurable retention period for schema checks

Open
#3,264 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue improvement registry
Dominant language
TypeScript
Stars
483
Forks
145
Avg merge
2d 5h
Merged PRs (30d)
65

Description

Currently, we store schema checks for the usage data retention period.

Since there are a lot of schema checks happening it will quickly eat up storage space.

We already optimized storage for duplicated SDL occurences via [https://github.com/kamilkisiela/graphql-hive/issues/2603](https://github.com/kamilkisiela/graphql-hive/issues/2603) (some SDLs were duplicated up to 2000 times).

We don't really need to store schema checks that long as the data is not relevant for such a long time.

Instead, we could default to a shorter time (similar to GitHub actions which is 2 weeks by default)
We could even allow increasing it in the UI for enterprise users if needed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.