forked from Deuxfleurs/nixcfg
update telemetry config on staging
This commit is contained in:
parent
b37c4b3196
commit
cc945340a1
1 changed files with 5 additions and 3 deletions
|
@ -26,7 +26,7 @@ job "telemetry" {
|
||||||
args = [
|
args = [
|
||||||
"--config.file=/etc/prometheus/prometheus.yml",
|
"--config.file=/etc/prometheus/prometheus.yml",
|
||||||
"--storage.tsdb.path=/data",
|
"--storage.tsdb.path=/data",
|
||||||
"--storage.tsdb.retention.size=20GB",
|
"--storage.tsdb.retention.size=5GB",
|
||||||
]
|
]
|
||||||
volumes = [
|
volumes = [
|
||||||
"secrets:/etc/prometheus",
|
"secrets:/etc/prometheus",
|
||||||
|
@ -115,6 +115,7 @@ job "telemetry" {
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
memory = 100
|
memory = 100
|
||||||
|
memory_max = 1000
|
||||||
cpu = 100
|
cpu = 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -122,7 +123,7 @@ job "telemetry" {
|
||||||
task "grafana" {
|
task "grafana" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
config {
|
config {
|
||||||
image = "grafana/grafana:9.2.0"
|
image = "grafana/grafana:9.2.3"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
ports = [ "grafana" ]
|
ports = [ "grafana" ]
|
||||||
volumes = [
|
volumes = [
|
||||||
|
@ -194,6 +195,7 @@ job "telemetry" {
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
memory = 100
|
memory = 100
|
||||||
|
memory_max = 500
|
||||||
cpu = 100
|
cpu = 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue