Files
traces/integration/e2e/config-limits-query.yaml
T
bca305178a feat: limit recent queries (#5682)
* add adjustRangeWare

Signed-off-by: Joe Elliott <number101010@gmail.com>

* improve code and added more tests

* fixes in the tests

* remove strict validation for now

* move the logic to the frontend

* fix integration tets

* add values explicitly

* fix query range tests

* fix unit tests

* fix more tests

* fix more tests

* disable for tags

* revert last commit

* do not apply when the start and end are missing for now

* try to fix more tests

* fix more tests

* fix more tests

* fix more tests

* bring back empty start end handling

* fix more tests

* fix multitenant tests

* fix https test

* fix api tests

* fix deployment tests

* simplify tests

* fix query range test

* fix another test

* remove commented code

* disable test

* fix search propagates

* fix search shard test

* fix another test

* last one?

* test querybackend after

* Update modules/livestore/config.go

Co-authored-by: Joe Elliott <joe.elliott@grafana.com>

* Update modules/frontend/frontend.go

Co-authored-by: Joe Elliott <joe.elliott@grafana.com>

* fmt

* Remove the new default start query parameter and
default to the query_backend_after

* remove precission since its not used

* cleanup test configs

* move config one level up

* changelog

* remove validation

* defaulted to 0

* manifest

* add more cutoff

---------

Signed-off-by: Joe Elliott <number101010@gmail.com>
Co-authored-by: Joe Elliott <number101010@gmail.com>
Co-authored-by: Joe Elliott <joe.elliott@grafana.com>
2025-11-03 16:39:48 +00:00

61 lines
1.0 KiB
YAML

target: all
server:
http_listen_port: 3200
query_frontend:
query_end_cutoff: 0 # Include all recent data
search:
query_ingesters_until: 30m
distributor:
receivers:
jaeger:
protocols:
grpc:
endpoint: "tempo:14250"
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:4317"
compactor:
compaction:
block_retention: 1h
overrides:
defaults:
compaction:
block_retention: 1h
ingestion:
max_traces_per_user: 1
rate_limit_bytes: 500
burst_size_bytes: 500
global:
max_bytes_per_trace: 130
ingester:
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
final_sleep: 0s
min_ready_duration: 1s
trace_idle_period: 1ms
flush_check_period: 1ms
complete_block_timeout: 10s
storage:
trace:
blocklist_poll: 1s
backend: local
local:
path: /var/tempo/blocks
wal:
path: /var/tempo/wal
pool:
max_workers: 10
queue_depth: 100