On Tuesday, 30 June 2020 14:40:46 UTC+1, Sébastien Dionne wrote:
>
> but there is a way to configure the scrape interval with annoation too ?
>
> I could have applications that we want to monitor each 15 sec and others
> at 45sec interval or more.
>
>
You can have two different scrape jobs, one
YES.. when I have labels on my pods.. I received them. good. I think,
I'll be able to work with AlertManager webhook.
Prometheus auto-discover my pods because they are annoted with
prometheus.io/path: /metrics
prometheus.io/port: 8080
prometheus.io/scrape: true
that is the config that I have so far
serverFiles:
alerts:
groups:
- name: Instances
rules:
- alert: InstanceDown
expr: up == 0
for: 10s
labels:
severity: page
annotations:
description: '{{
Hi,
On 6/25/20 8:55 PM, Sébastien Dionne wrote:
> I have few java applications that I'll deploy in my cluster. I need to
> know how can I detect if a instance is up or down with Prometheus.
>
> *Alerting with AlertManager*
> *
> *
> I have a alert that check for "instanceDown" and send a alert
4 matches
Mail list logo