You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix#3554
This creates a new metric recorded only if we set the configuration
option `telemetry.metrics.common.experimental_cache_metrics.enabled` to
`true`.
* `apollo.router.operations.entity` (histogram): cache hit ratio per
subgraph and entity type
This simulates an entity cache to find out if it would be useful. Each
time we do a subgraph query, we use as cache key:
- subgraph name
- entity type
- query
- vary headers
- entity key
We record if we have seen this entity before (using a bloom filter) and
calculate the cache hit ratio for that query, per subgraph and entity
type.
---------
Signed-off-by: Benjamin Coenen <[email protected]>
Co-authored-by: Benjamin Coenen <[email protected]>
Fix#3554
This creates a new metric recorded only if we set the configuration
option `telemetry.metrics.common.experimental_cache_metrics.enabled` to
`true`.
* `apollo.router.operations.entity` (histogram): cache hit ratio per
subgraph and entity type
This simulates an entity cache to find out if it would be useful. Each
time we do a subgraph query, we use as cache key:
- subgraph name
- entity type
- query
- vary headers
- entity key
We record if we have seen this entity before (using a bloom filter) and
calculate the cache hit ratio for that query, per subgraph and entity
type.
---------
Signed-off-by: Benjamin Coenen <[email protected]>
Co-authored-by: Benjamin Coenen <[email protected]>
Follow up to #3532 that was reverted. We want metrics to evaluate how much data is reused between queries
The text was updated successfully, but these errors were encountered: