Setting gitlab_environment_name label on alerts #6061
Unanswered
bradmac-ats
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We want to feed the default alerts from our OpenShift clusters into GitLab. This almost works using GitLab's Prometheus alert integration, the one thing that's missing is linking the alerts to a specific environment in GitLab. For this to happen, GitLab needs a
gitlab_environment_name
label to be attached.It looks like that could be done under
global: external_labels:
(https://stackoverflow.com/a/69426627/446591), but I can't figure out where I would configure that when Prometheus is installed using the operator. Can anyone point me in the right direction?Beta Was this translation helpful? Give feedback.
All reactions