mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-21 20:23:39 +09:00
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>
27 lines
828 B
YAML
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
|