-
Notifications
You must be signed in to change notification settings - Fork 529
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
traces_service_graph_request_messaging_system_seconds metrics is not produced, while enabled. #4492
Comments
When we create a processor we overlay per tenant overrides on the default config and pass it in. tempo/modules/generator/config.go Line 67 in b6bd537
I'm wondering if we're overwriting the "true" in your config with false here. Most config options seem to have some kind of guard code to not override if its an empty value, but we just take whatever is in the overrides for this particular value. tempo/modules/generator/config.go Line 132 in b6bd537
Perhaps try something like:
This is confusing. Even if this is not your issue, we need to optionally overwrite this field and not blindly do it. |
@joe-elliott I tested it with the additional override settings and it works now: So it looks like the way the settings are handled is causing some problems at the moment. |
I do think this is still an issue. There doesn't seem to be anyway for a handful of settings to use the actual config since they are always overwritten by the overrides config here: tempo/modules/generator/config.go Lines 124 to 134 in b6bd537
The settings above it have a way to detect "unset" and only overwrite the config value if they are set. Let's add similar logic to the settings highlighted in the link above. |
I am running Tempo 2.6.1.
My full Tempo config can be found here: https://github.com/cbos/observability-toolkit/blob/main/config/tempo/tempo-config.yaml
For the service graph processor I have I this config:
All metrics are generated:
But
traces_service_graph_request_messaging_system_seconds
is missing. That is introduced with #3453My test setup is a modified setup of OpenTelemetry demo:
https://github.com/cbos/opentelemetry-demo/tree/jms-support
Producer
So the client-server matching is done correctly and the connection_type is 'messaging_system'.https://github.com/cbos/opentelemetry-demo/tree/jms-support/src/adservice
JMS system is ActiveMQ (messagequeue in the setup)
Consumer
https://github.com/cbos/opentelemetry-demo/tree/jms-support/src/analytics
tempo/modules/generator/processor/servicegraphs/servicegraphs.go
Line 380 in deece3c
I checked the logging of Tempo, but I don't see the warning "producerSpanEndTime must be smaller than consumerSpanStartTime. maybe the peers clocks are not synced"
Based on what I can see all conditions are met to create the metrics, but these are not produced.
What can I do to find the problem to get it fixed?
The text was updated successfully, but these errors were encountered: