Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 newHealthChecker
- Loading branch information