You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
APM Server version (apm-server version): 7.16.0-SNAPSHOT
Description of the problem including expected versus actual behavior:
In testing, I used multiple tail-based sampling policies designed to apply unique sample rates to specific services. I used a comparison between the request transaction metrics count vs the request transaction traces captured to determine the actual sample rate. useful dashboard for comparison is found here: https://github.com/bryce-b/apm-server/blob/tbs-metrics/cmd/TBS/tbs_charts_3.2.ndjson
In testing, each service had some drift from the expected sample rate, which isn't unexpected, but the sample rate for opbeans-ruby is drastically different from the expected sample rate.
Steps to reproduce:
Please include a minimal but complete recreation of the problem,
including server configuration, agent(s) used, etc. The easier you make it
for us to reproduce it, the more likely that somebody will take the time to
look at it.
start cloud deployment
apply apm integration to deployment
start apm-integration-testing for traffic
apply apm-server config described above
Provide logs (if relevant):
The text was updated successfully, but these errors were encountered:
simitt
changed the title
Tail Based Sampling: multiple service policies result in unusual sample rates
Multiple service policies result in unusual sample rates
Dec 17, 2021
@bryce-b do you recall how you ran apm-integration-testing? Did you start all the opbeans services together?
If all opbeans services are started together, then the services will proxy some requests to one another to demonstrate distributed tracing. Thus, a request to opbeans-ruby may have started in another service -- hence the sampling rate for that other service would take effect.
Then, to add on top: I just ran apm-integration-testing with opbeans-go and opbeans-ruby, and none of the transactions coming through from Ruby are root transactions. Seems there's something wrong there, so I'd ignore the opbeans-ruby results.
APM Server version (
apm-server version
): 7.16.0-SNAPSHOTDescription of the problem including expected versus actual behavior:
In testing, I used multiple tail-based sampling policies designed to apply unique sample rates to specific services. I used a comparison between the
request
transaction metrics count vs therequest
transaction traces captured to determine the actual sample rate. useful dashboard for comparison is found here: https://github.com/bryce-b/apm-server/blob/tbs-metrics/cmd/TBS/tbs_charts_3.2.ndjsonHere is the policies used in testing:
In testing, each service had some drift from the expected sample rate, which isn't unexpected, but the sample rate for opbeans-ruby is drastically different from the expected sample rate.
Steps to reproduce:
Please include a minimal but complete recreation of the problem,
including server configuration, agent(s) used, etc. The easier you make it
for us to reproduce it, the more likely that somebody will take the time to
look at it.
Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: