guilbaults / TrailblazingTurtle

This web portal is intended to give HPC users a view of the overall use of the HPC cluster and their own use.
Apache License 2.0
25 stars 6 forks source link

Added Configuration for Hostname label for Prometheus #22

Closed Evan-Vokey closed 1 year ago

Evan-Vokey commented 1 year ago

Hi. I've added a configuration option for which Prometheus label contains the node hostname. This adds support for clusters where Prometheus metric endpoints are targeted by IP instead of hostname, thus the hostname is not in the instance label.

The default configuration remains to use instance.