mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-12 23:54:01 +09:00
docs(observability-proxy): name the source of the logs bucket default
The default of 11000 buckets was justified by a metrics proxy that does not exist on this branch. The number is Prometheus's cap on points per series in a range query, which the metrics root reuses. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
This commit is contained in:
1 parent
b703a54cb4
commit
9d9f5fcb6c
1 file changed
+1
-1
@@ -77,7 +77,7 @@ func parseFlags(args []string) (options, error) {
|
||||
// One week covers an incident investigation and keeps a single query
|
||||
// to a fraction of the default one-month log retention.
|
||||
fs.DurationVar(&o.logs.MaxRange, "logs-max-range", 7*24*time.Hour, "longest [start, end] a logs request may span; wider windows are clamped")
|
||||
// The same cap on points as the metrics proxy.
|
||||
// Prometheus's cap on points per series in a range query.
|
||||
fs.IntVar(&o.logs.MaxBuckets, "logs-max-buckets", 11000, "most buckets hits and stats_query_range may return over a window")
|
||||
fs.IntVar(&o.logs.DefaultLimit, "logs-default-limit", 1000, "entries returned when a request sets no limit")
|
||||
fs.IntVar(&o.logs.MaxLimit, "logs-max-limit", 10000, "largest limit a request may set")
|
||||
|
||||
Reference in new issue
Block a user