Repository navigation
Conversation
Collaborator
🚀 Snapshot Release (
|
| Package | Version | Info |
|---|---|---|
@graphql-hive/laboratory |
0.4.2-alpha-20261204205639-8ffa55fbee7306fa1536e950643b5b8e7d8d7f14 |
npm ↗︎ unpkg ↗︎ |
@graphql-hive/render-laboratory |
0.2.1-alpha-20261204205639-8ffa55fbee7306fa1536e950643b5b8e7d8d7f14 |
npm ↗︎ unpkg ↗︎ |
Contributor
|
🐋 This PR was built and pushed to the following Docker images: Targets: Platforms: Image Tags: |
jdolle
changed the base branch from
test-native-composition
to
feat-cache-insights
December 4, 2026 21:01
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
The cache metrics on this branch could not show whether a cache duration needs changing. Stale
hits counted as hits and were attributed to the wrong layer, a cache with no hits disappeared
from the dashboard, and nothing recorded how old an entry is when it is read.
Description
Metrics (
@hive/service-common, API, schema, workflows; usage gets them through the API cache classes)layerlabel, because BentoCache does not report which layerserved them.
createCacheMetrics(feature, layers)takes the layers a cache has and creates every series atzero, so a cache at 0% is shown and the first event per pod is counted.
hive_cache_entry_age_seconds{feature, result}histogram for the four Redis-backedBentoCache caches, read through a custom BentoCache serializer. The stored Redis format is
unchanged.
Dashboard (
Redis-Caches.json)compact one-row Overview.
Checklist