parent
fcc0d615a7
commit
4a7df9969d
23 changed files with 746 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
# {{ ansible_managed }}
|
||||
# https://grafana.com/docs/grafana/latest/administration/provisioning/
|
||||
apiVersion: 1
|
||||
prune: true
|
||||
datasources:
|
||||
- name: Mimir
|
||||
version: 9
|
||||
type: prometheus
|
||||
url: https://mimir.{{ monitoring_server_base_domain }}/prometheus
|
||||
basicAuth: true
|
||||
basicAuthUser: remote-write
|
||||
isDefault: true
|
||||
jsonData:
|
||||
httpMethod: POST
|
||||
prometheusType: Mimir
|
||||
prometheusVersion: "2.9.1" # well, >2.9.1 but that is assumed with this value -.-
|
||||
defaultEditor: code
|
||||
secureJsonData:
|
||||
basicAuthPassword: {{ lookup("community.sops.sops", "monitoring_secrets.enc.yaml", extract='["caddy_basic_auth"]["remote-write"]') }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue