Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

o11y #7

Open
cirocosta opened this issue May 22, 2021 · 2 comments
Open

o11y #7

cirocosta opened this issue May 22, 2021 · 2 comments

Comments

@cirocosta
Copy link
Owner

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
Copy link
Owner Author

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
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant