ricoberger / jaeger-exporter

Create Prometheus metrics for the Jaeger Service Performance Monitoring
MIT License
0 stars 1 forks source link

I see that jaeger-exporter does not configure the jaeger endpoint. Can it collect jaeger metrics? #46

Closed Cairry closed 4 weeks ago

ricoberger commented 1 month ago

Hi @Cairry, no it doesn't collect Jaeger metrics. The Jaeger Exporter is more a hack for people who do not use the OpenTelemetry Collector  to use the Service Performance Monitoring feature of Jaeger.

It only listens for all the spans on the Jaeger Kafka topic and generates the same metrics as the OpenTelemetry Collector.

Cairry commented 1 month ago

OK, thank you. I think your exporter is very useful for me. I also hope to analyze the API request processing time in Jaeger's service performance monitoring. Can I ask more about this? Where does the data on the Kafka topic come from?

Cairry commented 1 month ago

Oh! Sorry, I see. Kafka is used as the backend storage for Jaeger, and data can be processed from here.

ricoberger commented 1 month ago

Yes the exporter only works when Jaeger is used with Kafka as shown in the following picture:

architecture-v2

The exporter then listens on the same topic as the Jaeger Ingester to generate the metrics.

Cairry commented 1 month ago

OK Thanks, I understand. Can it be used with ElasticSearch?

ricoberger commented 1 month ago

The database used for Jaeger doesn't matter, the only requirement is that the Jaeger setup with Kafka is used.

Cairry commented 1 month ago

I see that the example extracts and processes data from Kafka. Can it extract data from elasticsearch and expose metrics?

ricoberger commented 1 month ago

No, unfortunately this is not possible.

ricoberger commented 4 weeks ago

Hi @Cairry, I would close this issue for now.

If there are other questions please let me know and I can reopen the issue.

Cairry commented 4 weeks ago

ok, thanks!