monero-operator icon indicating copy to clipboard operation
monero-operator copied to clipboard

o11y

Open cirocosta opened this issue 4 years ago • 2 comments

Screen Shot 2021-05-22 at 7 29 04 AM

so,

  1. wire prometheus to the endpoints provided by the internal headless-service that's used for the sts
  2. write grafana to promethes
  3. write the monerod-sidecar

cirocosta avatar May 22 '21 11:05 cirocosta

oh, how about multi-cluster?

.. thanos is usually the answer for federated prometheus, but I think the answer for now could be a simple "grafana somewhere pointing at the known secured prometheus endpoints".

cirocosta avatar May 22 '21 11:05 cirocosta

so ... I was doing rpc result --> prometheus value by hand, but it seems like we could take a better approach of instead writing a custom Collector that once hit by Prometheus, we make the calls we need and then rather than doing field-by-field conversions for methods like get_info, instead look at the json tags for snake-case names, and then based on the types, create the corresponding prometheus.Metric objects

ps.: with collectors you're accumulating/collecting once prometheus hits you, which I think makes sense for what we're trying to accomplish

cirocosta avatar May 22 '21 22:05 cirocosta