Skip to content
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

TBS: Document monitoring of disk space used by Tail Based Sampling in public docs. #14996

Open
Tracked by #14931
lahsivjar opened this issue Dec 19, 2024 · 0 comments
Open
Tracked by #14931

Comments

@lahsivjar
Copy link
Contributor

lahsivjar commented Dec 19, 2024

Configuring storage is crucial for stable Tail-Based-Sampling performance. We already emit metrics for monitoring disk usage by TBS but we have no public documentation around this. Having a public documentation for this will allow users to create dashboards and be on top of their storage needs for TBS. Example:

  • Total TBS database size: last_value('golang.apm-server.apm-server.sampling.tail.storage.lsm_size', kql='"beat.stats.apm_server.sampling.tail.storage.lsm_size": *') + last_value('beat.stats.apm_server.sampling.tail.storage.value_log_size', kql='"beat.stats.apm_server.sampling.tail.storage.value_log_size": *')
  • LSM size: last_value('golang.apm-server.apm-server.sampling.tail.storage.lsm_size', kql='"beat.stats.apm_server.sampling.tail.storage.lsm_size": *')
  • vlog size: last_value('beat.stats.apm_server.sampling.tail.storage.value_log_size', kql='"beat.stats.apm_server.sampling.tail.storage.value_log_size": *')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant