prometheus-k8s-operator icon indicating copy to clipboard operation
prometheus-k8s-operator copied to clipboard

charm_metrics

Open PietroPasotti opened this issue 2 years ago • 1 comments

Enhancement Proposal

We could hack together something analogous to Tempo's charm_tracing: a new charm_metrics library, which would talk to a prometheus via remote-write using https://pypi.org/project/opentelemetry-exporter-prometheus-remote-write/

Similar to:

  • https://github.com/canonical/loki-k8s-operator/pull/306

PietroPasotti avatar Sep 18 '23 12:09 PietroPasotti

Need to figure out:

  • What kind of metrics (different from the workload metrics). Perhaps keep it delegated to pebble?
  • How to expose - push (remote write) or pull (metrics endpoint)?

sed-i avatar Sep 20 '23 14:09 sed-i