-
Notifications
You must be signed in to change notification settings - Fork 107
apm: Document sampling.tail.discard_on_write_failure config #1453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
apm: Document sampling.tail.discard_on_write_failure config #1453
Conversation
@@ -53,6 +53,10 @@ If a setting is not supported by {{ech}}, you will get an error message when you | |||
Some settings that could break your cluster if set incorrectly are blocklisted. The following settings are generally safe in cloud environments. For detailed information about APM settings, check the [APM documentation](/solutions/observability/apm/configure-apm-server.md). | |||
:::: | |||
|
|||
### Version 9.1+ [ec_version_9_1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@florent-leborgne @colleenmcginnis My initial plan was to backport this PR to 8.X branch for the 8.19 release (and change the versions from 9.1 to 8.19). But I just realized 8.19 is being released before 9.1.
Should I create a separate PR for 8.X? Or do you have any other suggestions? Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @isaacaflores2. Thanks for this PR. You would need a different PR anyways for 8.19 docs because:
- the content is likely in a different repository (https://github.com/elastic/observability-docs)
- 8.x docs, including 8.19, are still powered by the asciidoc-based system, while 9.0 docs and above like this PR are markdown-based.
I am happy to help if you need
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it thanks for sharing. I will start a PR for 8.19 docs in the other repo. I'll reach out on slack for any help
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, a nit on config description. Please hold off from merging until 9.1 release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the addition! I left some minor-ish styling suggestions to align the wording with our writing guidelines.
@@ -53,6 +53,10 @@ If a setting is not supported by {{ech}}, you will get an error message when you | |||
Some settings that could break your cluster if set incorrectly are blocklisted. The following settings are generally safe in cloud environments. For detailed information about APM settings, check the [APM documentation](/solutions/observability/apm/configure-apm-server.md). | |||
:::: | |||
|
|||
### Version 9.1+ [ec_version_9_1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For other version sections, we specify that These are all of the supported settings for this version:
. If providing the full list may be out of scope of this PR, is it possible to at least outline the changes? I assume apm-server.sampling.tail.discard_on_write_failure
is a newly supported setting, but are there more changes, if you know?
### Version 9.1+ [ec_version_9_1] | |
### Version 9.1+ [ec_version_9_1] | |
This {{stack}} version adds support for the following settings: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9.1 will have 2 more configs than 9.0. One mentioned here, another in #1269 . I agree that explicitly mentioning these are new configs on top of 9.0 would be useful.
On a side note as a heads-up, before we spend too much time polishing this doc, I'm also thinking removing this doc altogether since it isn't providing much value after being moved from cloud to apm: elastic/apm-server#13602
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review @florent-leborgne. I updated to specify the stack versions adds new configs.
reference/apm/cloud/apm-settings.md
Outdated
### Version 9.1+ [ec_version_9_1] | ||
|
||
`apm-server.sampling.tail.discard_on_write_failure` | ||
: Defines the indexing behavior when trace events fail to be written to storage (e.g. when the storage limit is reached). When set to `false`, traces will bypass sampling and always be indexed, significantly increasing the indexing load. When set to `true`, traces will be discarded, there will be data loss potentially resulting in broken traces. The default is `false`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
: Defines the indexing behavior when trace events fail to be written to storage (e.g. when the storage limit is reached). When set to `false`, traces will bypass sampling and always be indexed, significantly increasing the indexing load. When set to `true`, traces will be discarded, there will be data loss potentially resulting in broken traces. The default is `false`. | |
: Defines the indexing behavior when trace events fail to be written to storage (for example, when the storage limit is reached). When set to `false`, traces bypass sampling and are always indexed, which significantly increases the indexing load. When set to `true`, traces are discarded, causing data loss which can result in broken traces. The default is `false`. |
Re-styling to present tense as per writing guidelines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks I updated all descriptions to use present tense
🔍 Preview links for changed docs:
🔔 The preview site may take up to 3 minutes to finish building. These links will become live once it completes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Just a note that we might refactor this type of content into metadata-enriched tabs in the future to lay out this type of "per version" differences.
### Version 9.1+ [ec_version_9_1] | ||
This {{stack}} version adds support for the following settings: | ||
|
||
`apm-server.sampling.tail.discard_on_write_failure` | ||
: Defines the indexing behavior when trace events fail to be written to storage (for example, when the storage limit is reached). When set to `false`, traces bypass sampling and are always indexed, which significantly increases the indexing load. When set to `true`, traces are discarded, causing data loss which can result in broken traces. The default is `false`. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Version 9.1+ [ec_version_9_1] | |
This {{stack}} version adds support for the following settings: | |
`apm-server.sampling.tail.discard_on_write_failure` | |
: Defines the indexing behavior when trace events fail to be written to storage (for example, when the storage limit is reached). When set to `false`, traces bypass sampling and are always indexed, which significantly increases the indexing load. When set to `true`, traces are discarded, causing data loss which can result in broken traces. The default is `false`. |
Can be removed thanks to elastic/apm-server#13602
### Version 9.1+ [ec_version_9_1] | ||
This {{stack}} version adds support for the following settings: | ||
|
||
`apm-server.sampling.tail.discard_on_write_failure` | ||
: Defines the indexing behavior when trace events fail to be written to storage (for example, when the storage limit is reached). When set to `false`, traces bypass sampling and are always indexed, which significantly increases the indexing load. When set to `true`, traces are discarded, causing data loss which can result in broken traces. The default is `false`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Version 9.1+ [ec_version_9_1] | |
This {{stack}} version adds support for the following settings: | |
`apm-server.sampling.tail.discard_on_write_failure` | |
: Defines the indexing behavior when trace events fail to be written to storage (for example, when the storage limit is reached). When set to `false`, traces bypass sampling and are always indexed, which significantly increases the indexing load. When set to `true`, traces are discarded, causing data loss which can result in broken traces. The default is `false`. |
Can be removed thanks to elastic/apm-server#13602
|
||
| | | | ||
|------------------------------|------------------------------------------| | ||
| APM Server binary | `sampling.tail.discard_on_write_failure` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| APM Server binary | `sampling.tail.discard_on_write_failure` | | |
| APM Server binary | `apm-server.sampling.tail.discard_on_write_failure` | |
Align with #2038
Document
sampling.tail.discard_on_write_failure
config.I sourced the config explanation from here please let me know if the description is incorrect or unclear in any way.
Updated pages can be found in the docs preview here:
Checklist
Related issues
Part of elastic/apm-server#15330