I have a problem with Grafana. Let me explain.
I have configured a MongoDB Exporter to Prometheus thanks to a tutorial. It is works. But when I decide to manage a dashboard on Grafana with JSON’s import, it is write “No data”.
The only obvious date I can see in the tutorial you followed is June 2019, at
which time the current Grafana version would have been 6.2.5
Can you try installing that (perhaps in a VM etc) to see whether the JSON
import works?
If it does, I think your best bet is to go back to the author of the JSON
dashboard on github and see if they’ve updated it for current Grafana
versions.
Hm, I upgrade Grafana to the last version. Actually, I have connected MongoDB with Prometheus, however when I try to launch a request in linux command line, I receive a succes but the return is empty. It is like if Prometheus is empty. So maybe the problem come from here.