forked from mtusi2026/mtusi2026lab6
33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
# configs: lab6: collector/prometheus/loki/tempo configs by their own tools, alert unit tests, Grafana provisioning
|
|
# date: 2026-11-01 20:07:53, commit: 470d9d6 + uncommitted changes
|
|
# command: python.exe student-tests/check_configs.py
|
|
# exit code: 0, 5.5 s
|
|
|
|
--- otelcol-contrib validate (infra/otel/collector.yaml): exit 0
|
|
|
|
--- promtool check config (infra/prometheus/prometheus.yml): exit 0
|
|
|
|
Checking /etc/prometheus/rules/alerts.yml
|
|
SUCCESS: 6 rules found
|
|
|
|
Checking /etc/prometheus/rules/recording.yml
|
|
SUCCESS: 10 rules found
|
|
--- promtool check rules (recording + alerts): exit 0
|
|
Checking /etc/prometheus/rules/alerts.yml
|
|
SUCCESS: 6 rules found
|
|
|
|
Checking /etc/prometheus/rules/recording.yml
|
|
SUCCESS: 10 rules found
|
|
--- promtool test rules (unit tests of alert thresholds/windows/for): exit 0
|
|
SUCCESS
|
|
--- loki -verify-config (infra/loki/loki.yaml): exit 0
|
|
|
|
--- tempo -config.verify (infra/tempo/tempo.yaml): exit 0
|
|
|
|
--- Grafana 12.4.14: database ok
|
|
datasource prometheus (prometheus): OK Successfully queried the Prometheus API.
|
|
datasource loki (loki): OK Data source successfully connected.
|
|
datasource tempo (tempo): OK Data source is working
|
|
dashboard 'Messenger — lab6 observability' in folder 'Messenger': 34 panels, provisioned=True, datasources ['loki', 'prometheus', 'tempo']
|
|
PASS: collector, prometheus (config, rules, unit tests), loki and tempo configs are valid; Grafana provisioned 3 healthy datasources and the dashboard without manual steps
|