Commit Graph

5 Commits

Author SHA1 Message Date
Renovate Bot
9a37b06aeb Update module github.com/rs/zerolog to v1.27.0 2022-06-07 21:37:09 +00:00
Renovate Bot
e03bec5d12 Update module github.com/prometheus/client_golang to v1.12.1 2022-05-05 12:50:52 +00:00
Renovate Bot
12dc22f33a Update module github.com/rs/zerolog to v1.26.1 2021-12-16 00:48:30 +00:00
James O'Gorman
cab8f1f626 Add a standard logger and HTTP logging middleware
Create a standard log object and use dependency injection to pass it to
the broadbandCollector and a new loggingMiddleware for wrapping HTTP
requests to log the request.

Logs are emitted as structured JSON logs by default but can be switched
to a human-friendly output by passing -log.level console.

The Prometheus client_golang library has also been upgraded.
2020-11-28 15:06:05 +00:00
James O'Gorman
732a45e26a Initial commit
This adds a rudimentary `chaos` package for querying broadband info, and
a Prometheus exporter.
2019-10-13 17:37:31 +01:00