forked from mtusi2026/mtusi2026lab7
35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
# configs: lab6: collector/prometheus/loki/tempo configs by their own tools, alert unit tests, Grafana provisioning
|
|
# date: 2026-11-07 19:12:52, commit: 20afc2c + uncommitted changes
|
|
# command: python.exe student-tests/check_configs.py
|
|
# exit code: 0, 5.7 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 check web-config (lab7: TLS, client certs, allowed SANs): exit 0
|
|
/etc/prometheus/web.yml SUCCESS
|
|
--- 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
|