Skip to content

Commit ada1b7d

Browse files
committed
disable max series as default
1 parent 740ad42 commit ada1b7d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/sources/tempo/configuration/_index.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,8 @@ query_frontend:
763763
[max_exemplars: <int> | default = 100 ]
764764

765765
# Maximum number of time series returned for a metrics query.
766-
[max_response_series: <int> | default = 1000]
766+
# Default is 0, which means there is no limit
767+
[max_response_series: <int> | default = 0]
767768

768769
# query_backend_after controls where the query-frontend searches for traces.
769770
# Time ranges older than query_backend_after will be searched in the backend/object storage only.

docs/sources/tempo/configuration/manifest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ query_frontend:
350350
query_backend_after: 30m0s
351351
interval: 5m0s
352352
max_exemplars: 100
353-
max_response_series: 1000
353+
max_response_series: 0
354354
multi_tenant_queries_enabled: true
355355
response_consumers: 10
356356
weights:

modules/frontend/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (cfg *Config) RegisterFlagsAndApplyDefaults(string, *flag.FlagSet) {
106106
TargetBytesPerRequest: defaultTargetBytesPerRequest,
107107
Interval: 5 * time.Minute,
108108
MaxExemplars: 100,
109-
MaxResponseSeries: 1000,
109+
MaxResponseSeries: 0,
110110
},
111111
SLO: slo,
112112
}

0 commit comments

Comments
 (0)