drogue-iot / drogue-cloud

Cloud Native IoT
https://drogue.io
Apache License 2.0
113 stars 30 forks source link

Add support for metrics #208

Closed dejanb closed 2 years ago

dejanb commented 2 years ago

Add metrics for cloud components based on Prometheus/Grafana. It works in combination with https://github.com/drogue-iot/drogue-cloud-helm-charts/pull/12

This PR adds basics for drogue cloud monitoring, by:

There's a new docs page with some explanations: docs/modules/deployment/pages/monitoring.adoc which should help with testing the PR. Short term TODO item is to bump actix-web-prom version once the https://github.com/nlopes/actix-web-prom/pull/61 is merged.

ctron commented 2 years ago

/test

drogue-bot commented 2 years ago

Aye, aye, captain! … Triggered System Test worklow!

drogue-bot commented 2 years ago
Total Passed Failed Ignored Filtered Duration
147 147 0 0 0 34m 24s

Git: https://github.com/drogue-iot/drogue-cloud @ refs/heads/metrics

Commit: 1afa2185ee43c4b17d500468943211a3a70e50b9
Author: Dejan Bosanac <dejan@sensatic.net>
Date: Wed, 19 Jan 2022 15:38:00 -0100

    Merge fixes and code cleanup

Job: https://github.com/drogue-iot/drogue-cloud-testing/actions/runs/1722290648

Report: https://drogue-iot.github.io/drogue-cloud-testing/test-report/2022/01/20/test-run-1722290648.html