Skip to content

Commit 14c0566

Browse files
authored
apm: change default sampling.tail.storage_limit (#581)
This PR moves the changes introduced in elastic/observability-docs#4814 by @carsonip to our new 9.0 docs.
1 parent 314ca23 commit 14c0566

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

solutions/observability/apps/transaction-sampling.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,13 @@ Policies map trace events to a sample rate. Each policy must specify a sample ra
264264

265265
The amount of storage space allocated for trace events matching tail sampling policies. Caution: Setting this limit higher than the allowed space may cause APM Server to become unhealthy.
266266

267-
If the configured storage limit is insufficient, it logs "configured storage limit reached". The event will bypass sampling and will always be indexed when storage limit is reached.
267+
A value of `0GB` (or equivalent) does not set a concrete limit, but rather allows the APM Server to align its disk usage with the disk size. APM server uses up to 80% of the disk size limit on the disk where the local tail-based sampling database is located. The last 20% of disk will not be used by APM Server. It is the recommended value as it automatically scales with the disk size.
268268

269-
Default: `3GB`. (text)
269+
If this is not desired, a concrete `GB` value can be set for the maximum amount of disk used for tail-based sampling.
270+
271+
If the configured storage limit is insufficient, it logs "configured limit reached". The event will bypass sampling and will always be indexed when storage limit is reached.
272+
273+
Default: `0GB`. (text)
270274

271275
| | |
272276
| --- | --- |
@@ -301,4 +305,4 @@ The service name for events to match a policy. (string)
301305

302306
##### **`service.environment`** [sampling-tail-service-environment-{{input-type}}]
303307

304-
The service environment for events to match a policy. (string)
308+
The service environment for events to match a policy. (string)

0 commit comments

Comments
 (0)