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

[TRACKING TICKET]: node exporter metrics #2046

Closed
verabehr opened this issue Aug 23, 2024 · 0 comments · Fixed by palomachain/paloma#1287
Closed

[TRACKING TICKET]: node exporter metrics #2046

verabehr opened this issue Aug 23, 2024 · 0 comments · Fixed by palomachain/paloma#1287
Assignees
Labels
enhancement New feature or request paloma
Milestone

Comments

@verabehr
Copy link

verabehr commented Aug 23, 2024

As a validator, I'd like to have access to node metrics so that I know how my Pigeon is performing:

See: palomachain#1083

@verabehr verabehr added this to the next milestone Aug 23, 2024
@verabehr verabehr added enhancement New feature or request paloma labels Aug 23, 2024
taariq pushed a commit to palomachain/paloma that referenced this issue Sep 9, 2024
# Related Github tickets

- Closes VolumeFi#2046

# Background

This PR adds pigeon metrics to the telemetry endpoint, where they can be
consumed in either JSON or prometheus format.

To get the metrics, we need to enable telemetry on app.toml -
`telemetry.enabled = true`. If we want to enable the prometheus format,
we need to enable prometheus sink as well, by setting prometheus
retention to non-zero, e.g. `telemetry.prometheus-retention-time = 60`
to retain metrics for a minute.
Metrics will be available on the API, in the `/metrics` endpoint, e.g.
`http://localhost:1317/metrics?format=prometheus`
Pigeon metrics keys are prefixed with `pigeon_`.

# Testing completed

- [ ] test coverage exists or has been added/updated
- [x] tested in a private testnet

# Breaking changes

- [x] I have checked my code for breaking changes
- [x] If there are breaking changes, there is a supporting migration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request paloma
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants