is jaeger_collector_spans_received_total metric accurate? #5862
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @yasharne! I'm here to help you with your issue. Let's figure this out together. Yes, the Additionally, the documentation provides troubleshooting steps to ensure that spans are being correctly processed and stored, such as verifying the sampling strategy, using the logging reporter, bypassing the Jaeger Agent, and increasing the logging in the backend components. These steps can help diagnose and resolve any issues that might affect the accuracy of the The following metrics are of special interest:
jaeger_collector_spans_received
jaeger_collector_spans_saved_by_svc
jaeger_collector_traces_received
jaeger_collector_traces_saved_by_svc
The first two metrics should have similar values for the same service. Similarly, the two `traces` metrics should also have similar values. For instance, this is an example of a setup that is working as expected:
jaeger_collector_spans_received{debug="false",format="jaeger",svc="order"} 8
jaeger_collector_spans_saved_by_svc{debug="false",result="ok",svc="order"} 8
jaeger_collector_traces_received{debug="false",format="jaeger",svc="order"} 1
jaeger_collector_traces_saved_by_svc{debug="false",result="ok",svc="order"} 1 For further troubleshooting, you can refer to the detailed steps in the troubleshooting guide, which includes verifying the sampling strategy, using the logging reporter, bypassing the Jaeger Agent, and increasing the logging in the backend components [1][2][3][4][5]. |
Beta Was this translation helpful? Give feedback.
-
The "traces" metric is computed from root spans only (spans with null parent). It is expected that it would be different (smaller) from "spans" metric, but 16 vs 16k doesn't sound quite right since your traces do not seem to be that large (screenshot shows about 30 spans per trace). Another possibility is if you have issues with collection where root spans are not making it to the collector and not included in the "traces" metric. |
Beta Was this translation helpful? Give feedback.
The "traces" metric is computed from root spans only (spans with null parent). It is expected that it would be different (smaller) from "spans" metric, but 16 vs 16k doesn't sound quite right since your traces do not seem to be that large (screenshot shows about 30 spans per trace). Another possibility is if you have issues with collection where root spans are not making it to the collector and not included in the "traces" metric.