Skip to content

Commit c882e02

Browse files
committed
1 parent ad3eba8 commit c882e02

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/data/relay_metrics.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,30 @@
123123
"description": "The number of upstream requests queued up for sending.\n\nRelay employs connection keep-alive whenever possible. Connections are kept open for _15_\nseconds of inactivity or _75_ seconds of activity. If all connections are busy, they are\nqueued, which is reflected in this metric.\n\nThis metric is tagged with:\n- `priority`: The queueing priority of the request, either `\"high\"` or `\"low\"`. The\npriority determines precedence in executing requests.\n\nThe number of concurrent connections can be configured with:\n- `limits.max_concurrent_requests` for the overall number of connections\n- `limits.max_concurrent_queries` for the number of concurrent high-priority requests",
124124
"features": []
125125
},
126+
{
127+
"type": "Gauge",
128+
"name": "metrics.buckets",
129+
"description": "The total number of metric buckets in Relay's metrics aggregator.",
130+
"features": []
131+
},
132+
{
133+
"type": "Histogram",
134+
"name": "metrics.buckets.flushed",
135+
"description": "The total number of metric buckets flushed in a cycle across all projects.",
136+
"features": []
137+
},
138+
{
139+
"type": "Histogram",
140+
"name": "metrics.buckets.flushed_per_project",
141+
"description": "The number of metric buckets flushed in a cycle for each project.\n\nRelay scans metric buckets in regular intervals and flushes expired buckets. This histogram\nis logged for each project that is being flushed. The count of the histogram values is\nequivalent to the number of projects being flushed.",
142+
"features": []
143+
},
144+
{
145+
"type": "Timer",
146+
"name": "metrics.buckets.scan_duration",
147+
"description": "Time in milliseconds spent scanning metric buckets to flush.\n\nRelay scans metric buckets in regular intervals and flushes expired buckets. This timer\nshows the time it takes to perform this scan and remove the buckets from the internal cache.\nSending the metric buckets to upstream is outside of this timer.",
148+
"features": []
149+
},
126150
{
127151
"type": "Counter",
128152
"name": "processing.event.produced",

0 commit comments

Comments
 (0)