I need to write a query that use any of the different jobs I define.
{job="traefik" OR job="cadvisor" OR job="prometheus"}
Is it possible to write logical binary operators?
In Kubernetes, an operator is a controller that works with the Kubernetes API to handle application processes without human intervention. The Prometheus operator automates the configuration and management of the Prometheus monitoring stack that runs on a Kubernetes cluster.
In Grafana, you can configure New Relic as a Prometheus data source. Not only that, within Grafana you can query metrics stored in New Relic using the PromQL query language.
Prometheus has an or
logical binary operator, but what you're asking about here is vector selectors.
You can use a regex for this {job=~"traefik|cadvisor|prometheus"}
, however that you want to do this is a smell.
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