In my environment (Grafana version 11.1.0 / Loki version 3.1.0) low volume streams take longer to be searchable by querier compared to high volume streams. This is especially problematic for very low volume streams (1 event per day or less) where it can take more than 24 hours until the event is found by the querier. It seems like the ingester is not properly queried by the querier. As I send the same event to two different log-aggregation system, I know that the event was sent without delay. query_ingesters_within is set to 0 (but also tried 96h). Any help is appreciated.
querier:
query_ingesters_within: 0
max_concurrent: 24
concurrent_flushes: 32
flush_check_period: 30s
flush_op_backoff:
min_period: 10s
max_period: 1m0s
max_retries: 10
flush_op_timeout: 10m0s
chunk_retain_period: 0s
chunk_idle_period: 30m0s
chunk_block_size: 262144
chunk_target_size: 1572864
chunk_encoding: snappy
max_chunk_age: 2h0m0s
autoforget_unhealthy: false
sync_period: 1h0m0s
sync_min_utilization: 0.1
max_returned_stream_errors: 10
query_store_max_look_back_period: 2h41m0s
wal:
enabled: true
query_scheduler:
max_outstanding_requests_per_tenant: 32000
limits_config:
max_global_streams_per_user: 0
shard_streams:
enabled: false
discover_service_name:
discover_log_levels: false
reject_old_samples: false
query_timeout: 30s
schema_config:
configs:
- from: 2024-05-01
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h