Stanislav Hordiyenko
Stanislav Hordiyenko

Reputation: 707

How to configure Jaeger data source in Grafana properly?

I would like to configure Jaeger data source in Grafana. I have Loki, Jaeger, Grafana installed in Kubernetes cluster. All services are up and running. Then, I navigate to Grafana to set up a new data source for Jaeger. Specify Jaeger url (http://jaeger-tracing-query.monitoring.svc.cluster.local:16687), click on [Save & test] button and the 'Data source connected, but no services received. Verify that Jaeger is configured properly.' error message is shown. If I navigate to Jaeger UI, I can clearly see 2 services.

Could you please guide me on what is probably missing in the configuration?

Upvotes: 5

Views: 5235

Answers (3)

Ayush Dubey
Ayush Dubey

Reputation: 1

I found my UI was querying http://localhost:16686/jaeger/ui/api/services, changing the data source URL in grafana to http://localhost:16686/jaeger/ui fixed it for me.

Upvotes: -1

b26
b26

Reputation: 198

I was scratching my head over this issue.

All the documents say you need to connet to {pod}.{namespace}:{port}

I noticed if you go to the Jaeger UI it's querying for the services on this endpoint

http://localhost:16686/jaeger/api/services

enter image description here

So I went back to Grafana and set the URL to http://jaeger-query:16686/jaeger

enter image description here

Upvotes: 2

Anand R P
Anand R P

Reputation: 21

16687 is admin port. Use port 80 to configure the data source in grafana.

it should be like jaeger-tracing-query.monitoring.svc.cluster.local:80

Upvotes: 1

Related Questions