Open zeljkobekcic opened 6 months ago
Currently the entire vector of a field is shown in the legend of the Grafana dashboards. This is not readable at all. To improve this we want to show only the ressource_id.
Then from this:
{__name__="evs_disk_device_write_bytes_rate", container="otc-prometheus-exporter", endpoint="metrics", instance="172.16.0.74:39100", job="otc-prometheus-exporter", namespace="monitoring", pod="otc-prometheus-exporter-7f785fd7f-d67ms", resource_id="02df4114-d437-400f-bdd4-244889d09afe-vda", service="otc-prometheus-exporter", unit="B/s"}
to 02df4114-d437-400f-bdd4-244889d09afe-vda with this template {{ resource_id }}
02df4114-d437-400f-bdd4-244889d09afe-vda
{{ resource_id }}
Currently the entire vector of a field is shown in the legend of the Grafana dashboards. This is not readable at all. To improve this we want to show only the ressource_id.
Then from this:
{__name__="evs_disk_device_write_bytes_rate", container="otc-prometheus-exporter", endpoint="metrics", instance="172.16.0.74:39100", job="otc-prometheus-exporter", namespace="monitoring", pod="otc-prometheus-exporter-7f785fd7f-d67ms", resource_id="02df4114-d437-400f-bdd4-244889d09afe-vda", service="otc-prometheus-exporter", unit="B/s"}
to
02df4114-d437-400f-bdd4-244889d09afe-vda
with this template{{ resource_id }}