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

Copiable pressed label set buttons in Prometheus Targets UI #13925

Open
RoyGershon100 opened this issue Apr 12, 2024 · 1 comment
Open

Copiable pressed label set buttons in Prometheus Targets UI #13925

RoyGershon100 opened this issue Apr 12, 2024 · 1 comment

Comments

@RoyGershon100
Copy link

Proposal

Hello there!
As a client of Prometheus i would like to suggest a featue that will make, at list our team life a little bit easier.

In the Prometheus UI on the Targets page, we can not copy any labels and their values.
(When i mark the selection that i want with my mouse it does not let me copy it easily).

The most common use case for us is that when a target has errors and can not be sampled.
We want to check if the metrics are in a valid format and if the pod is alive. we use the terminal with the ping and wget commands. but for this we need the ip of the pod (we need to copy this info).

This is just an example but there are more use cases when the meta labels that are shown in the UI are important to us and we use them alot.

Can you please make the labels copiable? or even better, make them a clickable buttens that allow us to copy them.
It will allow us to save time and use a more comfortable way to manage this info.

@machine424
Copy link
Collaborator

With 2.51.1, I didn’t find it that difficult to copy labels on multiple browsers. Which versions are you using, on which browser? Could you give more details? Maybe a video or something can help.

Also you can get the labels using command line: https://prometheus.io/docs/prometheus/latest/querying/api/#targets

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

No branches or pull requests

2 participants