You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/observability/apm/configure/sampling.asciidoc
+30-4Lines changed: 30 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,31 +166,57 @@ APM Server produces metrics to monitor the performance and estimate the workload
166
166
167
167
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`.
168
168
169
-
This is a counter metric so, should be visualized with `counter_rate`.
169
+
This is a counter metric, so it should be visualized with `counter_rate`.
170
170
171
171
[float]
172
172
[[sampling-tail-monitoring-events-processed-ref]]
173
173
=== `apm-server.sampling.tail.events.processed`
174
174
175
175
This metric tracks the total number of events (including both transaction and span) processed by the tail-based sampler.
176
176
177
-
This is a counter metric so, should be visualized with `counter_rate`.
177
+
This is a counter metric, so it should be visualized with `counter_rate`.
178
178
179
179
[float]
180
180
[[sampling-tail-monitoring-events-stored-ref]]
181
181
=== `apm-server.sampling.tail.events.stored`
182
182
183
183
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.
184
184
185
-
This is a counter metric so, should be visualized with `counter_rate`.
185
+
This is a counter metric, so it should be visualized with `counter_rate`.
186
186
187
187
[float]
188
188
[[sampling-tail-monitoring-events-dropped-ref]]
189
189
=== `apm-server.sampling.tail.events.dropped`
190
190
191
191
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.
192
192
193
-
This is a counter metric so, should be visualized with `counter_rate`.
193
+
This is a counter metric, so it should be visualized with `counter_rate`.
This metric tracks the total number of events that failed to be written to the tail-based sampling storage. Failed writes typically occur when the storage limit is reached or when there are issues with the local sampling database.
200
+
201
+
The value of this metric should be 0 if tail-based sampling is functioning properly. If it is consistently increasing, check for misconfigured <<sampling-tail-storage_limit-{input-type}>>.
202
+
203
+
This is a counter metric, so it should be visualized with `counter_rate`.
204
+
205
+
[float]
206
+
[[sampling-tail-monitoring-events-sampled-ref]]
207
+
=== `apm-server.sampling.tail.events.sampled`
208
+
209
+
This metric tracks the total number of events that were sampled (kept) by the tail-based sampler after applying the configured policies and were selected for indexing. This includes all events that belong to traces that matched tail-based sampling policies.
210
+
211
+
This is a counter metric, so it should be visualized with `counter_rate`.
This metric tracks the total number of events that were already unsampled by head-based sampling before reaching the tail-based sampler. These events are processed by the tail-based sampler but are not stored or indexed because they were already filtered out by head-based sampling decisions.
218
+
219
+
This is a counter metric, so it should be visualized with `counter_rate`.
0 commit comments