Skip to content

Commit e82155a

Browse files
committed
1 parent 145c2f5 commit e82155a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/data/relay_metrics.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,12 @@
576576
"description": "Number of evicted stale projects from the cache.\n\nRelay scans the in-memory project cache for stale entries in a regular interval configured\nby `cache.eviction_interval`.\n\nThe cache duration for project states can be configured with the following options:\n\n- `cache.project_expiry`: The time after which a project state counts as expired. It is\nautomatically refreshed if a request references the project after it has expired.\n- `cache.project_grace_period`: The time after expiry at which the project state will still\nbe used to ingest events. Once the grace period expires, the cache is evicted and new\nrequests wait for an update.",
577577
"features": []
578578
},
579+
{
580+
"type": "Timer",
581+
"name": "project_cache.fetch.duration",
582+
"description": "Total time spent from starting to fetch a project config update to completing the fetch.",
583+
"features": []
584+
},
579585
{
580586
"type": "Gauge",
581587
"name": "project_cache.fetches.size",
@@ -585,7 +591,7 @@
585591
{
586592
"type": "Timer",
587593
"name": "project_cache.latency",
588-
"description": "Latency of project config updates until they reach Relay.\n\nThe metric is calculated by using the creation timestamp of the project config\nand when Relay updates its local cache with the new project config.\n\nNo metric is emitted when Relay fetches a project config for the first time.",
594+
"description": "Latency of project config updates until they reach Relay.\n\nThe metric is calculated by using the creation timestamp of the project config\nand when Relay updates its local cache with the new project config.\n\nNo metric is emitted when Relay fetches a project config for the first time.\n\nThis metric is tagged with:\n- `delay`: Bucketed amount of seconds passed between fetches.",
589595
"features": []
590596
},
591597
{

0 commit comments

Comments
 (0)