diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-20 17:13:46 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-20 17:13:46 +0200 |
commit | 56ff4c5cfdfc7fd84a10bd1d69418109e25c2560 (patch) | |
tree | 2dced4fd3861b147e1f3b0f617ecad2cd627571a /experimental/bad.telemetry-elastic/config/grafana-litestream.yml | |
parent | 9b6bdc709253ba20d344bee711e5b7bf29bf03c7 (diff) | |
download | nixcfg-56ff4c5cfdfc7fd84a10bd1d69418109e25c2560.tar.gz nixcfg-56ff4c5cfdfc7fd84a10bd1d69418109e25c2560.zip |
Prod-like telemetry into staging
Diffstat (limited to 'experimental/bad.telemetry-elastic/config/grafana-litestream.yml')
-rw-r--r-- | experimental/bad.telemetry-elastic/config/grafana-litestream.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/experimental/bad.telemetry-elastic/config/grafana-litestream.yml b/experimental/bad.telemetry-elastic/config/grafana-litestream.yml new file mode 100644 index 0000000..a537d9c --- /dev/null +++ b/experimental/bad.telemetry-elastic/config/grafana-litestream.yml @@ -0,0 +1,10 @@ +dbs: + - path: /ephemeral/grafana.db + replicas: + - url: s3://grafana-db/grafana.db + region: garage-staging + endpoint: http://{{ env "attr.unique.network.ip-address" }}:3990 + 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 |