You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
want to capture the above log line with client name as a label. number of clients is not fixed, i was trying this to extract the metric as dynamic list of labels.
Do you want to create a new label name for each client, like client1="10", client2="20", client3="15", client4="23"? This is not possible. You have to define the labels names when you create the metric. Only the label values are dynamic.
with the regexp above i was able to create the labels dynamically, but it reports only the last two items.
for e.g: with {...client3=15, client4=23} it created client3=15, client4=23
and when the log changed to {...client6=8, client7=27} it created client6=8, client7=27
so it is possible to create dynamic labels, but the issue is that it is picking up only last item from the repeating group.
want to capture the above log line with client name as a label. number of clients is not fixed, i was trying this to extract the metric as dynamic list of labels.
this seem to capture only the last two items.
is there a way to get this working?
does the exporter use findAll?
The text was updated successfully, but these errors were encountered: