I have labels coming from two resources
label_values(aws_lambda_info{a="a", b="b"}, a)
and
label_values(s3{a="a", b="b"}, a)
How can I combine these two label sources into one.
You must use a query and extract the label values with a regex
I would be something like
Query: query_result(aws_lambda_info OR s3)
Regex: /a="([^"]+)"/
Have look at Grafana documentation for Prometheus source, it is rather well written.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With