Closed alturismo closed 3 years ago
You need to install/setup Prometheus database somewhere in your environment, just like you have installed Grafana. https://prometheus.io/
Prometheus is the database that actually stores the metrics for Grafana to query for. Prometheus is also the one that is fetching (scraping in Prometheus terms) the data from the machine http://
So you need to do basically the following:
The 2. and 3. can be done in any order; Grafana will see all the metrics immediately when they become available, so even if you configure Grafana to see Prometheus before its scraping, you start to see hwi_ metrics right after the scraping starts.
ok, then i missunderstood it, i thought your PromDapter already served the Data for the Prom Grafana Client ;)
thanks for the point
Oh yes, PromDapter is the adapter between HWiNFO (and other machine monitoring sources) and Prometheus.
I closed this for now as solved, please if you face any setup issues, don't hesitate to create new issue with specific info about the issue.
Hi, as it seems i cant get any data imported here with queries, question is may if i added Datasource wrong
i have to choose the browser option, server option will always throw HTTP Error Not Found
i can curl from the grafana mashine the .../metrics url and get the respond fine, i can also open it in a browser and the respond is fine.
now, when this succeeded in browser mode, and i want to add a query using Prometheus as source, no metrics showing up starting with hwi as sample, actually no metrics at all.
may some tip what i missed, thanks ahead.