-
Notifications
You must be signed in to change notification settings - Fork 58
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
Feature/bytes openmetrics #750
Conversation
Minimum allowed coverage is Generated by 🐒 cobertura-action against b30eac7 |
…onal dependency in the pre commit config.
Should we set |
@praseodym Perhaps, but perhaps our common case now is development where you would prefer to get more direct feedback pinging the metrics endpoint? |
I added some extra documentation about performance tuning. |
There is currently only scarce documentation on the authentication mechanism for the Bytes API, meaning that metrics consumers are kind of left to figure it out for themselves. There are no instructions or examples as to how one can actually use |
If we need a different setting in development we should put that in the .env file. In my opinion all our defaults in the code should be set to sensible defaults so that we minimize the number of env variables are user needs to change. |
@dekkers With the current docs suggesting running |
…coordination into feature/bytes-openmetrics
Changes
Add a
/metrics
endpoint that can be consumed by Prometheus.Up for discussion at this point:
cachetools
library or suggest caching at the proxy layer for the metric endpoint. I eventually left out caching to discuss it further here.Issue link
Fixes #298
Proof
Metrics example output generated in the docs (any inconsistencies were probably created during manual testing and generating files):
Checklists for authors:
Code Checklist
Communication
.env
changes files if required and changed the.env-dist
accordingly.Checklist for code reviewers:
Checklist for QA:
make kat
.feature
orhotfix
works as intended.What works:
What doesn't work:
Bug or feature?: