Hi everyone
I want to merge the labels of two query in each other, so I am using this 
query:

*quary1{label_for_both,label_just_in_quary1} * ignore(label_just_in_quary1) 
group_left() quary2{label_for_both}*

After using this query, I found out the entries not in the second query 
were removed, so I added `or` like this quarry:

*(quary1{label_for_both,label_just_in_quary1} * 
ignore(label_just_in_quary1) group_left() quary2{label_for_both}) or 
quary1{label_for_both,label_just_in_quary1}*

As a result, I have duplicate entries anyone has any suggestions to remove 
duplicates?

-- 
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/e57ebe0a-7bde-4ff7-836f-9bae0c42a57fn%40googlegroups.com.

Reply via email to