Skip to content

Commit b0024d0

Browse files
committed
Add details for counter metric
1 parent c4e2fbc commit b0024d0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

solutions/observability/apps/tail-based-sampling.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,20 +140,28 @@ APM Server produces metrics to monitor the performance and estimate the workload
140140

141141
### `apm-server.sampling.tail.dynamic_service_groups` [sampling-tail-monitoring-dynamic-service-group-ref]
142142

143-
This metric tracks the number of dynamic services that the tail-based sampler is tracking per policy. Dynamic services are created for tail-based sampling policies that are defined without a `service.name`.
143+
This metric tracks the number of dynamic services that the tail-based sampler is tracking per policy. Dynamic services are created for tail-based sampling policies that are defined without a `service.name`.
144+
145+
This is a counter metric so, should be visualized with `counter_rate`.
144146

145147
### `apm-server.sampling.tail.events.processed` [sampling-tail-monitoring-events-processed-ref]
146148

147149
This metric tracks the total number of events (including both transaction and span) processed by the tail-based sampler.
148150

151+
This is a counter metric so, should be visualized with `counter_rate`.
152+
149153
### `apm-server.sampling.tail.events.stored` [sampling-tail-monitoring-events-stored-ref]
150154

151155
This metric tracks the total number of events stored by the tail-based sampler in the database. Events are stored when the full trace is not yet available to make the sampling decision. This value is directly proportional to the storage required by the tail-based sampler to function.
152156

157+
This is a counter metric so, should be visualized with `counter_rate`.
158+
153159
### `apm-server.sampling.tail.events.dropped` [sampling-tail-monitoring-events-dropped-ref]
154160

155161
This metric tracks the total number of events dropped by the tail-based sampler. Only the events that are actually dropped by the tail-based sampler are reported as dropped. Additionally, any events that were stored by the processor but never indexed will not be counted by this metric.
156162

163+
This is a counter metric so, should be visualized with `counter_rate`.
164+
157165
### `apm-server.sampling.tail.storage.lsm_size` [sampling-tail-monitoring-storage-lsm-size-ref]
158166

159167
This metric tracks the storage size of the log-structured merge trees used by the tail-based sampling database in bytes. Starting in version 9.0.0, this metric is effectively equal to the total storage size used by the database. This is the most crucial metric to track storage requirements for tail-based sampler, especially for big deployments with large distributed traces. Deployments using tail-based sampling extensively should set up alerts and monitoring on this metric.

0 commit comments

Comments
 (0)