-
Notifications
You must be signed in to change notification settings - Fork 536
Open
Labels
Description
Background
There are some common issues that prevent tail-based sampling from performing as expected. Additional reporting/observability can empower users to troubleshoot these issues on their own. Common issues:
- storage limit reached
- traces missing a root transaction
Potential Solutions
Metrics
-
Expose a metric to track TBS related errors. This can be a simple counter with an error label which covers the
storage limit reached
error- An alternate solution has been proposed in [APM Server/Integration] Report health on major errors #17878
-
Expose a metric which observes sampling decisions The idea is to surface a metric that can show a user scenarios when traces are missing a root transaction. This can be a counter which tracks each time a transaction group is sampled. Or a metric which can track valid unsampled traces which have a root transaction.
- The exact metric may depend on the current TBS implementation. We should explore possible solutions as part of this issue
lucabelluccini