Files
cozystack/packages/system/observability-proxy/values.yaml
T
ZverGuy 85fb98dd2c fix(observability-proxy): stop refusing ordinary app queries on lookback
With the lookback refusal, the 24h default turned common application
queries into 422: a day's increase, and month-long panels at the step
a dashboard picks for them. The lookback estimate is a loose upper
bound, made for the store choice, and counts every "(" as an implicit
subquery, so it far exceeds what such queries read.

The lookback is only the refusal threshold, since the lookup itself
spans the window the query reads, so its default now matches
--metrics-max-range. The chart passes it from values, so an operator
can tune it.

Assisted-by: LLM
Signed-off-by: ZverGuy <maximbel2003@gmail.com>
2026-11-10 04:03:24 +07:00

27 lines
828 B
YAML

# Injected by the platform from the cozystack-values Secret. The empty
# default keeps the chart renderable on its own, outside a cluster.
_cluster: {}
observabilityProxy:
image: "ghcr.io/cozystack/cozystack/observability-proxy:v0.0.0"
replicas: 2
rootTenant: tenant-root
authCacheTTL: 10s
# Names and retention of the root tenant's metricsStorages
# (packages/system/monitoring/values.yaml). The retention is a Go
# duration: 3d is written 72h.
metrics:
shorttermStore: shortterm
longtermStore: longterm
shorttermRetention: 72h
# How far before its window an application metrics query may read;
# one reading further back answers 422 on the application root.
appLookback: 720h
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi