[prometheus-users] Re: Basic auth from environment variable

2023-04-24 Thread Brian Candler
You must be getting that config snippet into prometheus via the helm chart somehow. If you are just providing the snippet verbatim, then you could do some preprocessing of it. If there's no hook to do this at deployment time via the helm chart, then you could do it at runtime, e.g. via an init

[prometheus-users] restrict (respectively silence) alert rules to/for certain instances

2023-04-24 Thread Christoph Anton Mitterer
Hey. I have some troubles understanding how to do things rightâ„¢ with respect to alerting. In principle I'd like to do two things: a) have certain alert rules run only for certain instances (though that may in practise actually be less needed, when only the respective nodes would generate

[prometheus-users] how to make sure a metric is to be checked is "there"

2023-04-24 Thread Christoph Anton Mitterer
Hey there. What I'm trying to do is basically replace Icinga with Prometheus (or well not really replacing, but integrating it into the latter, which I anyway need for other purposes). So I'll have e.g. some metric that shows me the RAID status on instances, and I want to get an alert, when a

[prometheus-users] Metrics issue

2023-04-24 Thread annappa V
Hi everyone, I'm not getting the "http_requests_total" metrics from /actuator/prometheus below are the configuration details : In pom.xml file i configured these details : org.springframework.boot spring-boot-starter-actuator io.micrometer micrometer-registry-prometheus