How to check health/query a Tempo datasource using the Grafana API - v9.1.6

  • What Grafana version and what operating system are you using?
    Grafana v9.1.6

  • What are you trying to achieve?
    I want to test the connectivity between Grafana(v9.1.6) and a Tempo datasource using the API. In the documentation, it appears that I can use the GET path /api/datasources/:datasourceId/health

(Data source HTTP API | Grafana documentation).

  • What happened?
    I have tried to use the calls described in the documentation without success.

The health test doesn’t work. I got the error.

I have tried querying the tempo data source, also getting an error.

Very grateful for any help.
Julio G.

could you solve the problem? I have exactly the same error and I can’t find how to fix it


Mhm, how can you solve something what’s not implemented?

Health API can (not must) be implement by datasource. It is not implemented in the tempo case.
You can find other datasources, which don’t have that implementation as well.

Please read linked doc - it is mentioned there.

hello @jangaraj thanks for your quick answer

I´m a basic Grafana user, I was looking for the file “/pkg/plugin/plugin.go” on my server but I couldn’t find it. My datasource is Influx, I don’t know how to activate health or if it’s really possible

thanks in advance!!

Thank you @jangaraj . @lugozn19 as @jangaraj mentioned, the health check is not implemented for Tempo datasources.