-
Notifications
You must be signed in to change notification settings - Fork 2
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
Help with jaeger OTLP metrics #15
Comments
Sure!
|
I have taken the example from here for the counters In Jaeger monitor tool I cannot see the code counters And when I am trying to search Prometheus counters |
There are multiple problems happening here. If you want to use an OTLP registry you must not use the |
Right I want to send data to OTLP Collector, I removed the Prometheus registry dependency. Now The http://localhost:8080/q/metrics responds 404 not found And here is my application properties setup
14:45:30 WARN traceId=, parentId=, spanId=, sampled= [io.mi.re.ot.OtlpMeterRegistry] (otlp-metrics-publisher) Failed to publish metrics to OTLP receiver: java.net.ConnectException: Connection refused: no further information |
There are many things to fix... |
Mind that is you are using the configs I provided above, The metrics will show up on the logs. No idea why Jaeger UI is disabled. |
I ran docker-compose up on folder https://github.com/brunobat/quarkus-observability-demo/tree/main/docker-compose/basic_with_prometheus I suspect that it has to do with configs they refer here Could you please provide me with print screens where are the metrics printed and how do we query the Prometheus? |
As you can see on this line: quarkus-observability-demo/docker-compose/basic_with_prometheus/otel-collector-config.yaml Line 40 in b858978
These will be sent to the colector log (see the container output log) and prometheus, if properly configured. Sorry, but you'll have to research the prometheus queries. |
Hello Bruno!
Hope you are doing well!
I am trying to explore micrometer integration with Quarkus
I used as bases the example from https://quarkus.io/guides/telemetry-micrometer-tutorial
Included dependency
<dependency> <groupId>io.quarkiverse.micrometer.registry</groupId> <artifactId>quarkus-micrometer-registry-otlp</artifactId> <version>3.2.4</version> </dependency>
In application.properties
quarkus.micrometer.registry-enabled-default=true quarkus.micrometer.export.otlp.enabled=true quarkus.micrometer.export.otlp.get-enabled=true quarkus.micrometer.export.otlp.url=http://localhost:4318/v1/metrics
In order to have monitor tab enabled on a local jaeger deployment I used the docker-compose from here Made also a small addition in port binding to have 4318 also available
Unfortunately the prime number metric is not presented on the monitor dashboard. Only Operations metrics of the application, regarding the latency, request rate etc...
Also http://localhost:4318/v1/metrics responds 404 page not found
Could you please help me?
Thanks in advance
Best Regards,
Roi Arapoglou
The text was updated successfully, but these errors were encountered: