Strange error on grafana panel - The request headers point to the different plugin than is defined in the request body

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

OS: Linux 7 (Core) (3.10.0-1160.45.1.el7.x86_64)
Grafana : v9.3.0-beta1 (78f0340031)

  • What are you trying to achieve?

Display swap usage on different hosts using telegraf agent

  • How are you trying to achieve it?

By using following queries:

Query swap_total: mem_swap_total{host="$host"}
Query swap_free: mem_swap_free{host="$host"} + mem_swap_cached{host="$host"}
Expr: (($swap_total - $swap_free) / $swap_total) * 100

  • What happened?

Error on gauge panel (only this one) :
The request headers point to the different plugin than is defined in the request body

  • What did you expect to happen?

For gauge panel to display correct swap usage (percentage). This worked before and only started to happen couple of days ago.

  • Can you copy/paste the configuration(s) that you are having problems with?

Please see above.

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

Please see above.

  • Did you follow any online instructions? If so, what is the URL?

Couldn’t find anything related to this error online, only this github PR:

which I didn’t find useful.

Also, grafana logs show nothing related to it (debug is on).
Here are some additional logs to maybe help you with the problem resolution:

Anything else you need like logs, dumps etc. please let me know.
Thank you.

You are using beta version, so that version may have some bugs. Why you don’t use stable version, but bleeding edge version?

1 Like

Thanks for the reply - I will try to install stable version and let you know the outcome.

Regards