configure grafana dashboard upload

This commit is contained in:
red 2025-07-13 23:00:49 -04:00
parent 5b7bf44d1e
commit 8fe7e207fa
2 changed files with 14 additions and 0 deletions

View file

@ -35,6 +35,13 @@ data:
disabled: false, disabled: false,
manual_metrics_start_delay: :no_delay, manual_metrics_start_delay: :no_delay,
drop_metrics_groups: [], drop_metrics_groups: [],
grafana: [
host: System.get_env("GRAFANA_HOST", "http://localhost:3000"),
auth_token: System.get_env("GRAFANA_TOKEN"),
upload_dashboards_on_start: false,
folder_name: "BEAM",
annotate_app_lifecycle: true
],
metrics_server: [ metrics_server: [
port: 4021, port: 4021,
path: "/metrics", path: "/metrics",

View file

@ -123,6 +123,13 @@ spec:
secretKeyRef: secretKeyRef:
name: pleroma name: pleroma
key: secret-key-base key: secret-key-base
- name: GRAFANA_HOST
value: darkdork.grafana.lan
- name: GRAFANA_TOKEN
valueFrom:
secretKeyRef:
name: pleroma
key: grafana-token
- name: WEB_PUSH_PUBLIC_KEY - name: WEB_PUSH_PUBLIC_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef: