Commit 44407c00 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Corrige servicios confluent y alerta de bucles

parent d053a517
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -44,11 +44,20 @@ scrape_configs:
      type: 'A'
      port: 9091

  - job_name: 'zookeeper'
    dns_sd_configs:
    - names:
        - 'confluent_zookeeper-1'
        - 'confluent_zookeeper-2'
        - 'confluent_zookeeper-3'
      type: 'A'
      port: 9998

  - job_name: 'kafka'
    dns_sd_configs:
    - names:
        - 'confluent_kf-1'
        - 'confluent_kf-2'
        - 'confluent_kf-3'
        - 'confluent_kafka-1'
        - 'confluent_kafka-2'
        - 'confluent_kafka-3'
      type: 'A'
      port: 9998
+2 −2
Original line number Diff line number Diff line
@@ -7,8 +7,8 @@ groups:
    labels:
      severity: warning
    annotations:
      description: Service '{{ $labels.label }}' has been restarted 3 times in last hour.
      summary: Service '{{ $labels.label }}' has been restarted 3 times in last hour.
      description: Service '{{ $labels.job }}' has been restarted 3 times in last hour.
      summary: Service '{{ $labels.job }}' has been restarted 3 times in last hour.

  - alert: service_down
    expr: up == 0