Supporterino / truenas-graphite-to-prometheus

A graphite exporter mapping file for truenas scale >23.10.1 metrics and some example grafana dashboards
GNU General Public License v3.0
78 stars 12 forks source link

The graphite_mapping.conf doesn't seem to be working for me. #47

Closed silmarine closed 1 month ago

silmarine commented 3 months ago

I followed the guide and my grafana dashboard doesn't find any job or instance. I went to the prometheus page and looked for a couple of the metrics the dashboard was calling and couldn't find them but instead found much longer names that included the prefix and namespace set in Truenas. For example I find no "system_load" but instead " truenas_PXNAS1_system_load". Going off of the documentation of graphite_exporter I am guessing that it's not matching from the mappings and that is the default naming. My mapping config file is the same as the one here. I tried with the default and tried changing the job on each to "PXNAS1" but neither changed anything. I've pasted some screenshots below, is this something I did wrong or a bug?

Truenas exporter settings: image

Prometheus metric explorer search for "system_load" (there is both "scale_truenas" and "truenas_PXNAS1" because I was playing with the settings on Truenas trying to find the issue): image

Supporterino commented 2 months ago

@silmarine seems like the configuration for the graphite_exporter isn't loaded correctly. Best guess would be to start the container with debug logging and analyzing the first few lines for errors

github-actions[bot] commented 1 month ago

Stale issue please continue activity or it is closed in 7 days.

github-actions[bot] commented 1 month ago

Closed due to inactivity