I followed these steps and i got the dashboad. But it’s showing ‘no data’ menssage.
I noticed that Prometheus isn’t viewing the Windows Exporter, dispite the YML is configurated to see it.
Could you edit one of those panels that use Prometheus and share the query? You might need to change a variable such as “$server” to “localhost:9182”. (in my case the endpoint is 9182)
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
- job_name: "windows_exporter"
static_configs:
- targets: ["localhost:9182"]
The Prometheus and Windows Server pages metrics are working.
When I try to edit the panel I don’t get to see the parameters from Prometheus or Windows Exporter. I think that it’s because the Prometheus aren’t seeing the Windows Exporter.
When I enter in the Prometheus targets it just has itself, Windows Exporter do not appears.