-
Notifications
You must be signed in to change notification settings - Fork 350
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
Telemetry addon configuration not working #6002
Comments
With runtime 3.15.0, the behavior is the same, although the error message changes a little bit:
|
Adding properties to the camel trait fixes the issue:
It looks like the quarkus property names are not the expected ones when we use only the telemetry add on trait. |
It's weird as we have E2E test for this. @gansheer any idea why we're not detecting this? |
@squakez Per Quarkus documentation, the property is My guess is that we have upgraded Quarkus and didn't realize the properties have changed. |
Hello. Thanks for reporting. Yeah, the problem with those properties is that unfortunately we see many changes. I think that, looking at the future of the product, we need to make things more flexible. We're deprecating those traits that are purely based on Camel properties, so, I think also the telemetry trait may go in that direction. At the end of the day, having to set a camel property or a Camel K trait, won't change that much from UX perspective. |
I see your point. At the end we might only need the trait or some sort of configuration to enable telemetry and include the required dependencies. Perhaps using the dependencies field on the spec is enough. |
This one is intersecting with #5904 - ideally, when we provide some Camel property, we should be able to include the required dependency. In this way we enhance the UX as we limit the input required by the user to any given Camel property only. |
What happened?
Create the following Integration with telemetry configuration:
After it's running, submit some requests to the endpoint and monitor the log:
Eventually we will ser an error exporting the spans:
Per the error message, the trait is trying to send tracing data to localhost and not the configured endpoint.
Steps to reproduce
No response
Relevant log output
No response
Camel K version
2.4.0
The text was updated successfully, but these errors were encountered: