Skip to content

Commit

Permalink
point grafana to mimir
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclingwithelephants committed Nov 27, 2023
1 parent 5512f4c commit 309f8b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
23 changes: 15 additions & 8 deletions manifests/prod/addons/kube-prometheus-stack/values-grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,24 @@ grafana:
envFromSecret: "api-tokens-grafana-cloud"

additionalDataSources:
- name: Loki
basicAuth: true
basicAuthPassword: $API_TOKEN_READ_PROMETHEUS # this gets hydrated from an environment variable
basicAuthUser: 640440
editable: false
type: loki
url: https://logs-prod-008.grafana.net
# - name: Loki
# basicAuth: true
# basicAuthPassword: $API_TOKEN_READ_PROMETHEUS # this gets hydrated from an environment variable
# basicAuthUser: 640440
# editable: false
# type: loki
# url: https://logs-prod-008.grafana.net
- name: Mimir
basicAuth: false
# basicAuthPassword: $API_TOKEN_READ_PROMETHEUS # this gets hydrated from an environment variable
# basicAuthUser: 640440
editable: false
type: mimir
url: http://mimir-query-frontend.monitoring.svc.cluster.local/prometheus

extraSecretMounts:
- name: authentik-oauth-grafana
secretName: authentik-oauth-grafana
defaultMode: 0440
mountPath: /etc/secrets/authentik-oauth
readOnly: true
readOnly: true
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ prometheus:
replicas: 2

remoteWrite:
remote_write:
- url: http://mimir-nginx.monitoring.svc.cluster.local/api/v1/push
- url: http://mimir-nginx.monitoring.svc.cluster.local/api/v1/push

topologySpreadConstraints:
- maxSkew: 1
Expand Down

0 comments on commit 309f8b0

Please sign in to comment.