mirror of
https://github.com/immich-app/yucca.git
synced 2026-09-30 13:33:00 +08:00
fix(o11y): keep sflow at its native 5s resolution (#659)
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
@@ -19,7 +19,7 @@ data:
|
|||||||
url: http://victoria-metrics.netops.svc:8428
|
url: http://victoria-metrics.netops.svc:8428
|
||||||
isDefault: true
|
isDefault: true
|
||||||
jsonData:
|
jsonData:
|
||||||
timeInterval: 10s
|
timeInterval: 5s
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# VictoriaMetrics single — the SHORT-TERM, HIGH-GRANULARITY tier of the hybrid
|
# VictoriaMetrics single — the SHORT-TERM, HIGH-GRANULARITY tier of the hybrid
|
||||||
# design: 30d retention at 10s scrape resolution, in-cluster. vmagent remote-writes
|
# design: 30d retention, 5s dedup floor, in-cluster. vmagent remote-writes
|
||||||
# here today and will FAN OUT to the o11y cluster later (second -remoteWrite.url in
|
# here today and will FAN OUT to the o11y cluster later (second -remoteWrite.url in
|
||||||
# vmagent.yaml) — this instance stays the fast local buffer, o11y the long-term one.
|
# vmagent.yaml) — this instance stays the fast local buffer, o11y the long-term one.
|
||||||
#
|
#
|
||||||
@@ -38,7 +38,10 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- -storageDataPath=/storage
|
- -storageDataPath=/storage
|
||||||
- -retentionPeriod=30d
|
- -retentionPeriod=30d
|
||||||
- -dedup.minScrapeInterval=10s
|
# Tracks the FINEST scrape in the tier: sflow at 5s, itself pinned to
|
||||||
|
# the fabric's sFlow polling-interval (tf core-fabric). At 10s this
|
||||||
|
# dropped every other counter sample from that seconds-granularity feed.
|
||||||
|
- -dedup.minScrapeInterval=5s
|
||||||
- -httpListenAddr=:8428
|
- -httpListenAddr=:8428
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8428
|
- containerPort: 8428
|
||||||
|
|||||||
Reference in New Issue
Block a user