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

Implement Prometheus Collector for Jug #3

Open
ddaws opened this issue Mar 4, 2020 · 0 comments
Open

Implement Prometheus Collector for Jug #3

ddaws opened this issue Mar 4, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ddaws
Copy link
Owner

ddaws commented Mar 4, 2020

A Prometheus Collector collect stats on the MCD Jug contract. The Collect method of the collector will be called on every metrics collections from Prometheus. I propose naming metrics like mcd_jug_.... For all contract we can add metrics as mcd_<contract>_<metric>.

You can take a look at an example collector responsible for collecting metrics on Ethereum block headers here: https://github.com/ddaws/maker-monitor/blob/master/monitor/collector/header.go

Please use go-maker which supports accessing the Jug

@ddaws ddaws added the enhancement New feature or request label Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant