refactor: allow GET reference architecture overrides
This refactor makes it easier to -- and adds initial documentation for -- customizing a reference architecture monitoring setup.
This is being done primarily for GitLab Dedicated, but potentially customers could use the same approach to build customized reference architecture monitoring setup for their own self-managed instances.
No YAML or dashboard changes result from this change.
In this first change, there is exactly one option added, to enable or disable Praefect monitoring.
Further changes will be added in future, using the same pattern established here.
Reviewers Notes
- I've added some notes inline, but reviewing the docs adds to README.md is a good place to start: !4687 (diffs, comment 985183917)
- Example of this change in action: https://gitlab.com/gitlab-com/gl-infra/gitlab-dedicated/instrumentor/-/merge_requests/611
cc @gitlab-dedicated for visibility, but reaching out to @smcgivern and @reprazent for review.
Edited by Andrew Newdigate