Fix getting metrics list from env (#4891)
# What this PR does ## Which issue(s) this PR closes Related to [issue link here] <!-- *Note*: If you want the issue to be auto-closed once the PR is merged, change "Related to" to "Closes" in the line above. If you have more than one GitHub issue that this PR closes, be sure to preface each issue link with a [closing keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue). This ensures that the issue(s) are auto-closed once the PR has been merged. --> ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [x] Documentation added (or `pr:no public docs` PR label added if not required) - [x] Added the relevant release notes label (see labels prefixed w/ `release:`). These labels dictate how your PR will show up in the autogenerated release notes.
This commit is contained in:
parent
8ed824829c
commit
19dfe3d262
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ METRICS_ALL = [
|
|||
METRIC_USER_WAS_NOTIFIED_OF_ALERT_GROUPS_NAME,
|
||||
]
|
||||
# List of metrics to collect. Collect all available application metrics by default
|
||||
METRICS_TO_COLLECT = os.environ.get("METRICS_TO_COLLECT", METRICS_ALL)
|
||||
METRICS_TO_COLLECT = getenv_list("METRICS_TO_COLLECT", METRICS_ALL)
|
||||
|
||||
|
||||
# Database
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue