-
Notifications
You must be signed in to change notification settings - Fork 9
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
Warning Message Metrics exporter #106
Comments
Thank you @volkerfrank for reporting this. Metrics export is disabled by default so this shouldn't have happened. Can you test it with the 1.2.0 version of this module? Let me know please if that works as expected and this is a behavior with 1.2.1 only. |
Hi, yes this warning only occur with version 1.2.1. With version 1.2.0 I don't have this warning. |
Thanks for the confirmation @volkerfrank. That's what I guess must be happening here. Version 1.2.1 upgraded OTEL SDK version #101 which seems to have introduced that JVM flag behavior. As the plugin explicitly initiates the SDK, it doesn't need that flag. Looks like internally OTEL SDK is still looking for that and when enabling that, somewhere it is triggering that metrics behavior. We will take a look at that. Was there any other reason for enabling that flag? Did you see anything else not working as expected if that is not enabled? If there weren't any other reasons, I suggest you don't add JVM flag and ignore that INFO message about the flag. |
Hi, I was referencing version
Then, I tested each version and I got the same INFO message on each version. However, everything is working as expected! |
Hi,
plugin works fine on my mule project.
I used the plugin to transfer the traces to Elastic with the otlp-exporter.
I use the version 1.2.1 of the mule-opentelemetry-module.
I understand that the plugin don't support metrics and logs.
But in my application I see the following warning:
WARN 2023-09-18 10:29:01,677 [OkHttp http://localhost:4317/...] [processor: ; event: ] io.opentelemetry.exporter.internal.grpc.GrpcExporter: Failed to export metrics. Server responded with gRPC status code 2. Error message: Failed to connect to localhost/127.0.0.1:4317
Can I supress this warning?
Here is my config of the plugin:
The text was updated successfully, but these errors were encountered: