Hi there,
On 04 Mar 13:39, Brian Candler wrote:
> It's a bad idea to query all metrics, as it will touch all timeseries and
> create a huge amount of work in I/O and memory usage. But you can, and on
> a small test system it will probably be OK: the query is
>
> {__name__=~".+"}
>
> On a production system: you always want to ensure you're not touching every
> timeseries. Normally you'd do that by giving the metric name:
>
> process_virtual_memory_bytes
> is the same as
> {__name__="process_virtual_memory_bytes"}
>
> If you have another way to narrow it down to just a subset of series it
> should be OK, e.g.
>
> {__name__=~".+",instance="foo.example.com"}
In this case it can be written simply as {instance="foo.example.com"}.
Regards,
>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/0b630da0-73db-4eb0-be16-841d59dc5d5a%40googlegroups.com.
--
(o- Julien Pivotto
//\ Open-Source Consultant
V_/_ Inuits - https://www.inuits.eu
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/20200304214524.GA25228%40oxygen.
signature.asc
Description: PGP signature

