Commit d2d1c76
authored
Expose Linode Client Prometheus metrics (#302)
* Expose Linode Client Prometheus metrics
Add `--authorization-always-allow-paths="/metrics"` to command line to
allow scraping these metrics.
In addition to Linode Client metrics, standard controller and worqueue
metrics are visible by default.
To disambiguate CCM node controller work queue name, it's explicitly
named "ccm_node". That is, "node", "service" are upstream work
queues of k8s cloud-provider service controller and "ccm_node" is
the work queue of Linode CCM node controller.
Fixes #296
* Ignore coverage for client_with_metrics.go
* Add allowUnauthorizedMetrics Helm value
* Move metrics docs to getting-started sections
* Instrument healthChecker with Prometheus metrics
* Update newHealthChecker tests
* Preserve initialization order
* Remove unused timeout variable in healthChecker
* Remove unnecessary err return in newHealthChecker1 parent 8d34ded commit d2d1c76
File tree
15 files changed
+569
-48
lines changed- cloud/linode
- client
- deploy/chart
- templates
- docs/getting-started
- hack/templates
15 files changed
+569
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments