Skip to content

Commit 03961cc

Browse files
committed
[apm]: Document sampling.tail.discard_on_write_failure config
1 parent 7162acd commit 03961cc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/en/observability/apm/configure/sampling.asciidoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,20 @@ Default: `3GB`. (text)
7676
| Fleet-managed | `Storage limit`
7777
|====
7878

79+
[float]
80+
[id="sampling-tail-discard_on_write_failure-{input-type}"]
81+
=== Discard On Write Failure
82+
Defines the indexing behavior when trace events fail to be written to storage (for example, when the storage limit is reached).
83+
When set to `false`, traces bypass sampling and are always indexed, which significantly increases the indexing load.
84+
When set to `true`, traces are discarded, causing data loss which can result in broken traces.
85+
86+
Default: `false`. (bool)
87+
88+
|====
89+
| APM Server binary | `sampling.tail.discard_on_write_failure`
90+
| Fleet-managed (version 8.19+) | `Discard On Write Failure`
91+
|====
92+
7993
// end::tbs-top[]
8094

8195
[float]

0 commit comments

Comments
 (0)