helm-charts
helm-charts copied to clipboard
Add Configuration for Monitoring via Prometheus Operator
I noticed that https://github.com/cloudflare/helm-charts/pull/11 was created and subsequently closed due to a lack of sufficient metrics exposed in cloudflared.
Now that cloudflared supports a more useful set of metrics (described here), I would like to once again propose enabling configuration for metrics collection via a servicemonitor resource in both the cloudflare-tunnel and cloudflare-tunnel-remote charts.
Is there any reason to use a service monitor rather than a pod monitor?
Is there any reason to use a service monitor rather than a pod monitor?
Updated to use a PodMonitor instead. I have no strong opinion on which to use. ServiceMonitors seem more ubiquitous, but there is no need to manage a service for just this use case.
I do prefer the service approach because of scaling and routing. I noticed that #57 did the "same thing" you did before moving from ServiceMonitor to PodMonitor.
Please add also Grafana Dashboard ConfigMap
any updates on this PR?