Skip to content

Add separate_database_metrics setting for Praefect

Will Chandler (ex-GitLab) requested to merge wc-praefect-db-metrics into master

What does this MR do?

The prometheus_exclude_database_from_default_metrics setting prevents metrics collection from overloading the Praefect database. This setting should be exposed to ensure admins are able to avoid this issue.

Related issues

gitlab-org/gitaly#3796 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Merge Request Title and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for omnibus-gitlab opened
Edited by Mitchell Nielsen

Merge request reports