global: scrape_interval: 2s evaluation_interval: 5s external_labels: deployment_environment: lab rule_files: - /etc/prometheus/rules/*.yml scrape_configs: - job_name: messenger dns_sd_configs: - names: ["api"] type: A port: 8080 refresh_interval: 2s relabel_configs: - target_label: service_name replacement: messenger-api metric_relabel_configs: - source_labels: [__name__] regex: "go_.*|process_.*" action: keep - job_name: nginx static_configs: - targets: ["nginx-exporter:9113"] - job_name: postgres static_configs: - targets: ["postgres-exporter:9187"] - job_name: valkey static_configs: - targets: ["valkey-exporter:9121"] - job_name: redis-broker static_configs: - targets: ["redis-broker-exporter:9121"] - job_name: attachment-worker dns_sd_configs: - names: ["worker"] type: A port: 9091 refresh_interval: 2s relabel_configs: - target_label: service_name replacement: messenger-worker metric_relabel_configs: - source_labels: [__name__] regex: "go_.*|process_.*" action: keep - job_name: outbox-dispatcher static_configs: - targets: ["dispatcher:9091"] relabel_configs: - target_label: service_name replacement: messenger-dispatcher metric_relabel_configs: - source_labels: [__name__] regex: "go_.*|process_.*" action: keep - job_name: minio metrics_path: /minio/v2/metrics/cluster static_configs: - targets: ["s3:9000"] - job_name: otel-applications static_configs: - targets: ["otel-collector:8889"] - job_name: otel-collector static_configs: - targets: ["otel-collector:8888"] - job_name: tempo static_configs: - targets: ["tempo:3200"] - job_name: loki static_configs: - targets: ["loki:3100"]