atlantis
atlantis copied to clipboard
add optional toggle for specific prometheus metrics
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
- [ ] I'd be willing to implement this feature (contributing guide)
Describe the user story
As an Atlantis admin, I would like to control which metrics are exposed on the /metrics
prometheus endpoint.
Describe the solution you'd like
Have an option to the repo config to turn on specific metrics. This would reduce the size of the page in /metrics
and also save on cost for downstream metrics storage.
example set of metrics to expose
"atlantis_project_plan_execution_time",
"atlantis_project_apply_execution_time",
"atlantis_project_plan_execution_success",
"atlantis_project_apply_execution_success",
"atlantis_project_plan_execution_success"
Describe the drawbacks of your solution
May limit discoverability of new metrics when added.
Describe alternatives you've considered
Filtering for specific metrics at the ingestion level.