I meant {job=~"job(1|2)"}

On Thu, May 6, 2021 at 10:23 AM sayf eddine Hammemi <
[email protected]> wrote:

> You cant target a list but you can craft a regex
> {job=~"job(2|2)"}
>
> On Thu, May 6, 2021 at 9:33 AM Dudu <[email protected]> wrote:
>
>> In order to query all metrics under a single job i'm running this :
>> {job="job1"}
>>
>> What if i want to query all metrics of 2 jobs ?
>>
>> {job="job1","job2"} - This didnt do the trick
>>
>> --
>> 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/240b5e5c-2125-4d29-bd70-9d319dcd5786n%40googlegroups.com
>> <https://groups.google.com/d/msgid/prometheus-users/240b5e5c-2125-4d29-bd70-9d319dcd5786n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/CALnV8Wjr4kh%3DzmkcT5sGdX5a7VD1QPhXqpFww%2BN4SUB8RM5sSg%40mail.gmail.com.

Reply via email to