|
5 | 5 | "description": "Timing in milliseconds for the time the buffer service spends handling input.\n\nThis metric is tagged with:\n- `input`: The type of input that the service is handling.", |
6 | 6 | "features": [] |
7 | 7 | }, |
8 | | - { |
9 | | - "type": "Histogram", |
10 | | - "name": "buffer.dequeue_attempts", |
11 | | - "description": "Number of attempts needed to dequeue spooled envelopes from disk.", |
12 | | - "features": [] |
13 | | - }, |
14 | | - { |
15 | | - "type": "Histogram", |
16 | | - "name": "buffer.disk_size", |
17 | | - "description": "The file size of the buffer db on disk, in bytes.\n\nThis metric is computed by multiplying `page_count * page_size`.", |
18 | | - "features": [] |
19 | | - }, |
20 | 8 | { |
21 | 9 | "type": "Gauge", |
22 | 10 | "name": "buffer.disk_used", |
|
71 | 59 | "description": "Timing in milliseconds for the time it takes for an envelope to be decompressed.", |
72 | 60 | "features": [] |
73 | 61 | }, |
74 | | - { |
75 | | - "type": "Gauge", |
76 | | - "name": "buffer.envelopes_disk_count", |
77 | | - "description": "The number of envelopes waiting for project states on disk.\n\nNote this metric *will not be logged* when we encounter envelopes in the database on startup,\nbecause counting those envelopes reliably would risk locking the db for multiple seconds.\n\nThe disk buffer size can be configured with `spool.envelopes.max_disk_size`.", |
78 | | - "features": [] |
79 | | - }, |
80 | | - { |
81 | | - "type": "Histogram", |
82 | | - "name": "buffer.envelopes_mem", |
83 | | - "description": "The estimated number of envelope bytes buffered in memory.\n\nThe memory buffer size can be configured with `spool.envelopes.max_memory_size`.", |
84 | | - "features": [] |
85 | | - }, |
86 | | - { |
87 | | - "type": "Gauge", |
88 | | - "name": "buffer.envelopes_mem_count", |
89 | | - "description": "The number of envelopes waiting for project states in memory.\n\nThis number is always <= `EnvelopeQueueSize`.\n\nThe memory buffer size can be configured with `spool.envelopes.max_memory_size`.", |
90 | | - "features": [] |
91 | | - }, |
92 | 62 | { |
93 | 63 | "type": "Counter", |
94 | 64 | "name": "buffer.envelopes_read", |
|
125 | 95 | "description": "Timing in milliseconds for the time it takes for initialize the buffer.", |
126 | 96 | "features": [] |
127 | 97 | }, |
128 | | - { |
129 | | - "type": "Timer", |
130 | | - "name": "buffer.message.duration", |
131 | | - "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.", |
132 | | - "features": [] |
133 | | - }, |
134 | 98 | { |
135 | 99 | "type": "Timer", |
136 | 100 | "name": "buffer.peek.duration", |
|
149 | 113 | "description": "Timing in milliseconds for the time it takes for the buffer to push.", |
150 | 114 | "features": [] |
151 | 115 | }, |
152 | | - { |
153 | | - "type": "Counter", |
154 | | - "name": "buffer.reads", |
155 | | - "description": "Number of times the envelope buffer reads back from disk.", |
156 | | - "features": [] |
157 | | - }, |
158 | 116 | { |
159 | 117 | "type": "Counter", |
160 | 118 | "name": "buffer.ready_to_pop", |
|
179 | 137 | "description": "The number of individual stacks in the priority queue.\n\nPer combination of `(own_key, sampling_key)`, a new stack is created.", |
180 | 138 | "features": [] |
181 | 139 | }, |
182 | | - { |
183 | | - "type": "Counter", |
184 | | - "name": "buffer.state.transition", |
185 | | - "description": "Number of state changes in the envelope buffer.\nThis metric is tagged with:\n- `state_in`: The previous state. `memory`, `memory_file_standby`, or `disk`.\n- `state_out`: The new state. `memory`, `memory_file_standby`, or `disk`.\n- `reason`: Why a transition was made (or not made).", |
186 | | - "features": [] |
187 | | - }, |
188 | 140 | { |
189 | 141 | "type": "Counter", |
190 | 142 | "name": "buffer.try_pop", |
|
197 | 149 | "description": "Timing in milliseconds for the time it takes for the buffer to unspool data from disk.", |
198 | 150 | "features": [] |
199 | 151 | }, |
200 | | - { |
201 | | - "type": "Gauge", |
202 | | - "name": "buffer.unspool.periodic", |
203 | | - "description": "Number of queue keys (project key pairs) unspooled during proactive unspool.\nThis metric is tagged with:\n- `reason`: Why keys are / are not unspooled.", |
204 | | - "features": [] |
205 | | - }, |
206 | 152 | { |
207 | 153 | "type": "Counter", |
208 | 154 | "name": "buffer.unspooled_envelopes", |
|
215 | 161 | "description": "Timing in milliseconds for the time it takes for the buffer to spool data to SQLite.", |
216 | 162 | "features": [] |
217 | 163 | }, |
218 | | - { |
219 | | - "type": "Counter", |
220 | | - "name": "buffer.writes", |
221 | | - "description": "Number of times the envelope buffer spools to disk.", |
222 | | - "features": [] |
223 | | - }, |
224 | 164 | { |
225 | 165 | "type": "Counter", |
226 | 166 | "name": "cogs.usage", |
|
0 commit comments