File tree Expand file tree Collapse file tree 7 files changed +12
-5
lines changed
monitoring/grafana/provisioning/alerting Expand file tree Collapse file tree 7 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,12 @@ GITLAB_CLIENT_SECRET="" # see https://rancher.ase.cit.tum.de/dashboard/c/c-m-nhc
55API_OPENAI = " " # see https://rancher.ase.cit.tum.de/dashboard/c/c-m-nhcfjg9h/explorer/secret/team-continuous-disappointment/genai-secret#data
66API_OPENWEBUI = " " # see https://rancher.ase.cit.tum.de/dashboard/c/c-m-nhcfjg9h/explorer/secret/team-continuous-disappointment/genai-secret#data
77
8+ # If you also want to use/test grafana alerts, you need to set the following variable:
9+ DISCORD_WEBHOOK_URL = " "
10+
811# If you want to use cloud LLM models, you need to include your respective api keys (our openai key is already in rancher)
912
1013API_OPENAI = " " # see https://rancher.ase.cit.tum.de/dashboard/c/c-m-nhcfjg9h/explorer/secret/team-continuous-disappointment/genai-secret#data
1114API_ANTHROPIC = " " # your anthropic key
1215API_MISTRAL = " " # your mistral key
13- API_HUGGINGFACEHUB = " " # your huggingface api token
16+ API_HUGGINGFACEHUB = " " # your huggingface api token
Original file line number Diff line number Diff line change @@ -280,4 +280,5 @@ jobs:
280280 --set secrets.gitlabClientSecretDev="${{ secrets.DEV_CLIENT_SECRET }}" \
281281 --set secrets.mongodbAdminPassword="${{ secrets.MONGODB_ADMIN_PASSWORD }}" \
282282 --set secrets.apiOpenAi="${{ secrets.API_OPENAI }}" \
283- --set secrets.apiOpenWebUi="${{ secrets.API_OPENWEBUI }}"
283+ --set secrets.apiOpenWebUi="${{ secrets.API_OPENWEBUI }}" \
284+ --set secrets.discordWebhookUrl="${{ secrets.DISCORD_WEBHOOK_URL }}"
Original file line number Diff line number Diff line change 2626 --set secrets.gitlabClientSecretDev="${{ secrets.DEV_CLIENT_SECRET }}" \
2727 --set secrets.mongodbAdminPassword="${{ secrets.MONGODB_ADMIN_PASSWORD }}" \
2828 --set secrets.apiOpenAi="${{ secrets.API_OPENAI }}" \
29- --set secrets.apiOpenWebUi="${{ secrets.API_OPENWEBUI }}"
29+ --set secrets.apiOpenWebUi="${{ secrets.API_OPENWEBUI }}" \
30+ --set secrets.discordWebhookUrl="${{ secrets.DISCORD_WEBHOOK_URL }}"
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ services:
125125 - GF_USERS_ALLOW_SIGN_UP=false
126126 - GF_FEATURE_TOGGLES_ENABLE=logsInExplore
127127 - GF_LOG_CONSOLECOLORS=true
128+ - DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
128129 depends_on :
129130 - prometheus
130131 - loki
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ contactPoints:
66 - uid : aep95aewu00e8d
77 type : discord
88 settings :
9- url : https://discord.com/api/webhooks/1384597112955867277/YXLiCFAP8G3sXSv0EMNcspAVSeIElReokz2r2LoK-gtB-SxEbiTlplqXsrL09d8pwj4x
9+ url : ${DISCORD_WEBHOOK_URL}
1010 use_discord_username : false
1111 disableResolveMessage : false
Original file line number Diff line number Diff line change 1414 - uid: fepdr2f5po5q8c
1515 type: discord
1616 settings:
17- url: "https://discord.com/api/webhooks/1384597112955867277/YXLiCFAP8G3sXSv0EMNcspAVSeIElReokz2r2LoK-gtB-SxEbiTlplqXsrL09d8pwj4x"
17+ url: {{ .Values.secrets.discordWebhookUrl | quote }}
1818 use_discord_username: false
1919 disableResolveMessage: false
2020
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ secrets:
6363 mongodbAdminPassword : " set in CI pipeline"
6464 apiOpenAi : " set in CI pipeline"
6565 apiOpenWebUi : " set in CI pipeline"
66+ discordWebhookUrl : " set in CI pipeline"
6667
6768genai :
6869 baseUrl : " https://gpu.aet.cit.tum.de"
You can’t perform that action at this time.
0 commit comments