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

DOCUMENTATION: Update Notion with Staking Bot Back-End Requirements #1287

Closed
taariq opened this issue Feb 16, 2024 · 1 comment
Closed

DOCUMENTATION: Update Notion with Staking Bot Back-End Requirements #1287

taariq opened this issue Feb 16, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@taariq
Copy link
Member

taariq commented Feb 16, 2024

Please push Back WIP code to github now
Please write-up a Notion for the Staking Bot Back-End Script.
Please invite team to review your proposal and requirements.

@taariq taariq added the documentation Improvements or additions to documentation label Feb 16, 2024
@taariq
Copy link
Member Author

taariq commented Feb 20, 2024

@taariq taariq closed this as completed Feb 20, 2024
taariq pushed a commit that referenced this issue Sep 9, 2024
# Related Github tickets

- Closes #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
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants