Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure the legend to only display the ressource_id #49

Open
zeljkobekcic opened this issue Mar 11, 2024 · 0 comments · May be fixed by #51
Open

Configure the legend to only display the ressource_id #49

zeljkobekcic opened this issue Mar 11, 2024 · 0 comments · May be fixed by #51
Assignees

Comments

@zeljkobekcic
Copy link
Contributor

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 }}

@zeljkobekcic zeljkobekcic self-assigned this Mar 11, 2024
@lilsweetjesus lilsweetjesus linked a pull request Mar 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant