Reduce the amount of labels displayed in a metric value

This might be a silly question . I have a simple metric query but it has a lot of labels like in the image:

I am only interested to see the name instanceId.
Is there a way to “project” only a few labels in the graph for this query ?

check out the legend option in the prometheus query editor’s options:

1 Like