Adds Promtail and Loki to the metrics stack, configuring them as a datasource in grafana on deployment Adds a dashboard to monitor the system (logs for producer and consumer) Restructures the base directory so deployment manifests are moved into a deployments folder Adds selective labels to producer, consumer and addon so that their logs are ingested by promtail
23 lines
612 B
YAML
23 lines
612 B
YAML
global:
|
|
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
|
|
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
|
|
# scrape_timeout is set to the global default (10s).
|
|
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets:
|
|
# - alertmanager:9093
|
|
|
|
rule_files:
|
|
# - "first_rules.yml"
|
|
# - "second_rules.yml"
|
|
|
|
scrape_configs:
|
|
- job_name: "rabbitmq"
|
|
static_configs:
|
|
- targets: ["rabbitmq:15692"]
|
|
- job_name: "postgres-exporter"
|
|
static_configs:
|
|
- targets: ["postgres-exporter:9187"]
|