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: solutions/observability/apm/apm-server/tail-based-sampling.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -160,25 +160,45 @@ APM Server produces metrics to monitor the performance and estimate the workload
160
160
161
161
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`.
162
162
163
-
This is a counter metric so, should be visualized with `counter_rate`.
163
+
This is a counter metric, so it should be visualized with `counter_rate`.
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.
174
174
175
-
This is a counter metric so, should be visualized with `counter_rate`.
175
+
This is a counter metric, so it should be visualized with `counter_rate`.
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.
180
180
181
-
This is a counter metric so, should be visualized with `counter_rate`.
181
+
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.
186
+
187
+
The value of this metric should be 0 if tail-based sampling is functioning properly. If it is consistently increasing, check for misconfigured [storage limit](#sampling-tail-storage_limit-ref).
188
+
189
+
This is a counter metric, so it should be visualized with `counter_rate`.
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.
194
+
195
+
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.
200
+
201
+
This is a counter metric, so it should be visualized with `counter_rate`.
0 commit comments