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
@@ -140,31 +140,57 @@ APM Server produces metrics to monitor the performance and estimate the workload
140
140
141
141
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`.
142
142
143
-
This is a counter metric so, should be visualized with `counter_rate`.
143
+
This is a counter metric, so it should be visualized with `counter_rate`.
144
144
145
145
[float]
146
146
[[sampling-tail-monitoring-events-processed-ref]]
147
147
=== `apm-server.sampling.tail.events.processed`
148
148
149
149
This metric tracks the total number of events (including both transaction and span) processed by the tail-based sampler.
150
150
151
-
This is a counter metric so, should be visualized with `counter_rate`.
151
+
This is a counter metric, so it should be visualized with `counter_rate`.
152
152
153
153
[float]
154
154
[[sampling-tail-monitoring-events-stored-ref]]
155
155
=== `apm-server.sampling.tail.events.stored`
156
156
157
157
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.
158
158
159
-
This is a counter metric so, should be visualized with `counter_rate`.
159
+
This is a counter metric, so it should be visualized with `counter_rate`.
160
160
161
161
[float]
162
162
[[sampling-tail-monitoring-events-dropped-ref]]
163
163
=== `apm-server.sampling.tail.events.dropped`
164
164
165
165
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.
166
166
167
-
This is a counter metric so, should be visualized with `counter_rate`.
167
+
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.
174
+
175
+
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}>>.
176
+
177
+
This is a counter metric, so it should be visualized with `counter_rate`.
178
+
179
+
[float]
180
+
[[sampling-tail-monitoring-events-sampled-ref]]
181
+
=== `apm-server.sampling.tail.events.sampled`
182
+
183
+
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.
184
+
185
+
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.
192
+
193
+
This is a counter metric, so it should be visualized with `counter_rate`.
0 commit comments