aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/telemetry/config/grafana-litestream.yml
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/prod/app/telemetry/config/grafana-litestream.yml')
-rw-r--r--cluster/prod/app/telemetry/config/grafana-litestream.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/cluster/prod/app/telemetry/config/grafana-litestream.yml b/cluster/prod/app/telemetry/config/grafana-litestream.yml
new file mode 100644
index 0000000..9d4d48a
--- /dev/null
+++ b/cluster/prod/app/telemetry/config/grafana-litestream.yml
@@ -0,0 +1,10 @@
+dbs:
+ - path: /ephemeral/grafana.db
+ replicas:
+ - url: s3://grafana-db/grafana.db
+ region: garage
+ endpoint: http://{{ env "attr.unique.network.ip-address" }}:3900
+ access-key-id: {{ key "secrets/telemetry/grafana/s3_access_key" | trimSpace }}
+ secret-access-key: {{ key "secrets/telemetry/grafana/s3_secret_key" | trimSpace }}
+ force-path-style: true
+ sync-interval: 60s