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

Define monitoring / devops strategy for all the components #20

Closed
gamarin2 opened this issue May 6, 2021 · 2 comments
Closed

Define monitoring / devops strategy for all the components #20

gamarin2 opened this issue May 6, 2021 · 2 comments
Labels
devops enhancement New feature or request MVP++

Comments

@gamarin2
Copy link
Contributor

gamarin2 commented May 6, 2021

Things to monitor:

  • Full-nodes
  • Relayers
  • Health of our accounts (need to trigger an alert when they go below a certain limit)
  • API Server
  • CockroachDB instance
@gsora
Copy link
Contributor

gsora commented May 11, 2021

Thinking out loud:

Full-nodes

Cosmos SDK exposes Prometheus metrics when configured properly, we can definitely use those.

Relayers

@nodebreaker0-0 figured out some interesting metrics to be included in the Hermes relayer - still Prometheus-based, we are waiting for the Hermes team.

Health of our accounts (need to trigger an alert when they go below a certain limit)

We need to define "account health" first.

After that I think we can build something that pushes our account's balance on Prometheus and instrument alerts from that.

Maybe embed this functionality in CNS?

API Server

There are lots of premade Gin Prometheus exporter we can use to gather interesting metrics.

Some examples:

CockroachDB instance

They natively support Prometheus exporting: https://www.cockroachlabs.com/docs/v20.2/monitor-cockroachdb-with-prometheus.html

Bottom line

5931om

gsora added a commit that referenced this issue May 11, 2021
gsora added a commit that referenced this issue May 11, 2021
@gamarin2
Copy link
Contributor Author

Update: https://www.notion.so/allinbits/Infrasec-Emeris-MVP-3b85fdeeff0645e3ad52947223516621 (thanks to @gsora)

Will close this issue once we're happy with state of monitoring for MVP

@gamarin2 gamarin2 added MVP++ and removed MVP labels Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops enhancement New feature or request MVP++
Projects
None yet
Development

No branches or pull requests

3 participants