I got this error and bunch of missing logs from my traces
ERROR level=error caller=manager.go:49 component=distributor path=write msg="write operation failed" details="ingestion rate limit exceeded for user anonymous (limit: 5242880 bytes/sec) while attempting to ingest '598' lines totaling '1047701' bytes, reduce log volume or contact your Loki administrator to see if the limit can be increased" org_id=anonymous
as we can see the error reported the I have a rate limit at 5MB/s but I already adjusted in the config to 15MB/s and still got this error.
loki helm chart version: 6.35.0
this is the config
loki:
podLabels:
azure.workload.identity/use: "true"
auth_enabled: true
commonConfig:
replication_factor: 1
storage_config:
boltdb_shipper: null
# https://github.com/grafana/loki/issues/16599
use_thanos_objstore: true
podSecurityContext:
seccompProfile:
type: RuntimeDefault
storage:
use_thanos_objstore: true
object_store:
type: azure
azure:
endpoint_suffix: "blob.core.windows.net"
bucketNames:
chunks: loki-chunks
ruler: loki-ruler
#ruler_storage:
# azure:
# endpoint_suffix: "blob.core.windows.net"
# container_name: loki-ruler
schemaConfig:
configs:
- from: "2025-01-01"
store: tsdb
index:
prefix: loki_index_
period: 24h
object_store: azure
schema: v13
ingester:
chunk_encoding: snappy
chunk_idle_period: 30m
chunk_target_size: 1572864
flush_check_period: 15s
wal:
replay_memory_ceiling: 1024MB
pattern_ingester:
enabled: true
tracing:
enabled: true
querier:
max_concurrent: 4
compactor:
working_directory: /var/loki/compactor
compaction_interval: 10m
retention_enabled: true
delete_request_store: azure
retention_delete_delay: 2h
retention_delete_worker_count: 150
structuredConfig:
server:
grpc_server_max_recv_msg_size: 8388608
grpc_server_max_send_msg_size: 8388608
limits_config:
allow_structured_metadata: true
volume_enabled: true
split_queries_by_interval: 1h
max_query_series: 500
reject_old_samples: true # this is the main control to get the discarded chunks down
reject_old_samples_max_age: 8h
unordered_writes: true # this seems necessary currently. There still might be some clients that have their clocks skewed
per_stream_rate_limit: 9MB # default 3MB
per_stream_rate_limit_burst: 20MB # default 15MB
ingestion_burst_size_mb: 30 # default = 6
ingestion_rate_mb: 15 # default = 4
retention_period: 90d
max_line_size: 256KB
max_line_size_truncate: true # trunctate to long messages instead of rejecting them
deploymentMode: Distributed


