Skip to content

Commit 07af503

Browse files
authored
Merge pull request jupyterhub#3213 from yuvipanda/retention
Centralize and keep 3 months of metrics
2 parents f85aa51 + 93aa4fb commit 07af503

File tree

6 files changed

+2
-5
lines changed

6 files changed

+2
-5
lines changed

config/curvenote.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ prometheus:
227227
priorityClassName: binderhub-core
228228
persistentVolume:
229229
size: 50Gi
230-
retention: 30d
231230
ingress:
232231
hosts:
233232
- prometheus.binder.curvenote.dev

config/hetzner-2i2c-bare.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ prometheus:
138138
persistentVolume:
139139
size: 50Gi
140140
storageClass: openebs-hostpath
141-
retention: 30d
142141
ingress:
143142
hosts:
144143
- prometheus.2i2c-bare.mybinder.org

config/hetzner-2i2c.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ prometheus:
130130
server:
131131
persistentVolume:
132132
size: 50Gi
133-
retention: 30d
134133
ingress:
135134
hosts:
136135
- prometheus.2i2c.mybinder.org

config/ovh2.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ prometheus:
119119
nodeSelector: *coreNodeSelector
120120
persistentVolume:
121121
size: 50Gi
122-
retention: 30d
123122
ingress:
124123
hosts:
125124
- prometheus.ovh2.mybinder.org

config/prod.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ prometheus:
126126
persistentVolume:
127127
size: 50G
128128
storageClass: standard
129-
retention: 30d
130129
ingress:
131130
hosts:
132131
- prometheus.mybinder.org

mybinder/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,8 @@ prometheus:
606606
# mounted on one pod, so we need to use Recreate that first shut down the
607607
# pod and then starts it up during updates.
608608
type: Recreate
609+
# Keep 3 months of metrics
610+
retention: 90d
609611
ingress:
610612
enabled: true
611613
annotations:

0 commit comments

Comments
 (0)