Thanks Stuart,

I am collecting the metrics from the targeted pods and I can see the
different labels on the prometheus UI (graph) and I want to remove some
labels out of all the collected ones.

Actually I don't want to display the labels(instance, job &
pod_template_hash) on the prometheus UI so these labels will not appear for
any query.

Thanks in advance.

On Thu, Jan 28, 2021 at 3:23 PM Stuart Clark <stuart.cl...@jahingo.com>
wrote:

> On 2021-01-28 09:21, Amit Dubey wrote:
> > How can we remove the below labels
> > 1. Instance
> > 2. Job
> > 3. pod_template_hash
> >
>
> Hi. Could you be a bit more specific about what you are trying to do?
>
> It is easy to aggregate away labels in your queries using the various
> aggregation operators (min, sum, count, etc.) and the without() and by()
> clauses. Take a look here:
>
>
> https://prometheus.io/docs/prometheus/latest/querying/operators/#aggregation-operators
>
> --
> Stuart Clark
>


-- 
With regards,
Amit Dubey,

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAF%2B_-42srvJ0e2FXgg_XUmRWtoQF%2Bt0QbUJ48TZOtQvRc5tpLw%40mail.gmail.com.

Reply via email to