Configuration

global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
  external_labels:
    monitor: example
alerting:
  alertmanagers:
  - static_configs:
    - targets:
      - localhost:9093
    scheme: http
    timeout: 10s
    api_version: v1
rule_files:
- /etc/prometheus/alerts.yaml
scrape_configs:
- job_name: prometheus
  honor_timestamps: true
  scrape_interval: 5s
  scrape_timeout: 5s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - localhost:9090
- job_name: node
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - localhost:9100
    - 172.17.0.18:9100
    - 172.17.0.4:9100
    - 172.17.0.21:9100
    - 172.17.0.5:9100
    - 172.17.0.6:9100
    - 172.17.0.7:9100
    - 172.17.0.8:9100
    - 172.17.0.9:9100
    - 172.17.0.10:9100
    - 172.17.0.11:9100
    - 172.17.0.12:9100
    - 172.17.0.13:9100
    - 172.17.0.14:9100
    - 172.17.0.15:9100
    - 172.17.0.16:9100
    - 172.17.0.17:9100
    labels:
      environment: ulca-production
- job_name: translation-plugin-vm
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 74.225.251.110:9100
    labels:
      environment: translation-plugin
- job_name: docker-translation-plugin
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 74.225.251.110:9323
- job_name: alertmanager
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - localhost:9093
- job_name: blackbox
  honor_timestamps: true
  params:
    module:
    - http_2xx
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /probe
  scheme: http
  static_configs:
  - targets:
    - https://bhashini.gov.in
    - https://ulca-stage.bhashini.co.in
    - https://chitraanuvaad.bhashini.co.in
    - https://backend-chitraanuvaad.bhashini.co.in
    - https://meity-auth.ulcacontrib.org
    - https://uat-bhashini.bhashini.co.in
    - https://bhashini.gov.in/ulca
    - https://ulca-stage.bhashini.co.in/ulca
    - https://dhruva.bhashini.gov.in
    - https://dev-dhruva.bhashini.co.in
    - https://bhashini.gov.in/bhashadaan
    - https://datacollectionandcurationframework.bhashini.co.in
    - https://backend-datacollectionandcurationframework.bhashini.co.in
    - https://lekhaanuvaad.bhashini.co.in
    - https://translation-plugin.bhashni.co.in
    - https://translation-plugin-stage.bhashini.co.in
  relabel_configs:
  - source_labels: [__address__]
    separator: ;
    regex: (.*)
    target_label: __param_target
    replacement: $1
    action: replace
  - source_labels: [__param_target]
    separator: ;
    regex: (.*)
    target_label: instance
    replacement: $1
    action: replace
  - separator: ;
    regex: (.*)
    target_label: __address__
    replacement: localhost:9115
    action: replace