diff options
author | Alex Auvolat <alex@adnab.me> | 2022-11-04 11:09:37 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-11-04 11:09:37 +0100 |
commit | cc945340a134b5eebd404531918c93d57fc5a15d (patch) | |
tree | d8a4c5a521422dc3ae03c7a3cd80c86482eb119c /cluster | |
parent | b37c4b31961dbc9feb85f20a4b67fa493a67f103 (diff) | |
download | nixcfg-cc945340a134b5eebd404531918c93d57fc5a15d.tar.gz nixcfg-cc945340a134b5eebd404531918c93d57fc5a15d.zip |
update telemetry config on staging
Diffstat (limited to 'cluster')
-rw-r--r-- | cluster/staging/app/telemetry/deploy/telemetry.hcl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cluster/staging/app/telemetry/deploy/telemetry.hcl b/cluster/staging/app/telemetry/deploy/telemetry.hcl index cbbdec3..84a15db 100644 --- a/cluster/staging/app/telemetry/deploy/telemetry.hcl +++ b/cluster/staging/app/telemetry/deploy/telemetry.hcl @@ -26,7 +26,7 @@ job "telemetry" { args = [ "--config.file=/etc/prometheus/prometheus.yml", "--storage.tsdb.path=/data", - "--storage.tsdb.retention.size=20GB", + "--storage.tsdb.retention.size=5GB", ] volumes = [ "secrets:/etc/prometheus", @@ -115,6 +115,7 @@ job "telemetry" { resources { memory = 100 + memory_max = 1000 cpu = 100 } } @@ -122,7 +123,7 @@ job "telemetry" { task "grafana" { driver = "docker" config { - image = "grafana/grafana:9.2.0" + image = "grafana/grafana:9.2.3" network_mode = "host" ports = [ "grafana" ] volumes = [ @@ -155,7 +156,7 @@ job "telemetry" { "grafana", "tricot grafana.staging.deuxfleurs.org", ] - port = 3719 + port = 3719 address_mode = "driver" name = "grafana" check { @@ -194,6 +195,7 @@ job "telemetry" { resources { memory = 100 + memory_max = 500 cpu = 100 } } |