diff --git a/src/data/relay_metrics.json b/src/data/relay_metrics.json index fc08c8e49d180..59398b5af44e0 100644 --- a/src/data/relay_metrics.json +++ b/src/data/relay_metrics.json @@ -1,10 +1,4 @@ [ - { - "type": "Counter", - "name": "buffer.capacity_check", - "description": "Number of times the capacity is of the buffer is checked.\n\nThis metric is tagged with:\n- `lock_acquired`: Whether the capacity check was done by acquiring the lock or using the\nold value.", - "features": [] - }, { "type": "Histogram", "name": "buffer.dequeue_attempts", @@ -47,6 +41,12 @@ "description": "Number of _envelopes_ the envelope buffer produces.", "features": [] }, + { + "type": "Counter", + "name": "buffer.envelopes_returned", + "description": "Number of envelopes that were returned to the envelope buffer by the project cache.\n\nThis happens when the envelope buffer falsely assumes that the envelope's projects are loaded\nin the cache and sends the envelope onward, even though the project cache cannot handle it.", + "features": [] + }, { "type": "Counter", "name": "buffer.envelopes_written", @@ -59,12 +59,6 @@ "description": "Timing in milliseconds for processing a message in the buffer service.\n\nThis metric is tagged with:\n\n- `message`: The type of message that was processed.", "features": [] }, - { - "type": "Gauge", - "name": "buffer.push_inflight", - "description": "Number of envelopes currently waiting to be buffered.\n\nThis corresponds to the number of corresponding tokio tasks currently scheduled or running.", - "features": [] - }, { "type": "Counter", "name": "buffer.reads",