You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we're trying to tweak desired_rate in shard_streams, we're confused about the correct format.
From this doc, desired_rate is <int>, but default value is 1536KB which is string?
# Define streams sharding behavior.
shard_streams:
# Automatically shard streams to keep them under the per-stream rate limit.
# Sharding is dictated by the desired rate.
# CLI flag: -shard-streams.enabled
[enabled: <boolean> | default = true]
# Whether to log sharding streams behavior or not. Not recommended for
# production environments.
# CLI flag: -shard-streams.logging-enabled
[logging_enabled: <boolean> | default = false]
# Threshold used to cut a new shard. Default (1536KB) means if a rate is above
# 1536KB/s, it will be sharded into two streams.
# CLI flag: -shard-streams.desired-rate
[desired_rate: <int> | default = 1536KB]
Hi, team
When we're trying to tweak
desired_rate
inshard_streams
, we're confused about the correct format.From this doc,
desired_rate
is<int>
, but default value is1536KB
which is string?But from this guide, is it still
int
?I can see
1536KB
by reading loki starting logs:So I'm not quite sure which is the correct one, please help, thanks.
The text was updated successfully, but these errors were encountered: