expand ruler ring section to add num_tokens property (#4899)

* expand ruler ring section to add num_tokens property

* fix num-tokens prefix

* fix wording in common ring section around heartbeat_timeout

* rebase on main
pull/5087/head
Trevor Whitney 4 years ago committed by GitHub
parent 291360ddcb
commit 46cc256702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 52
      docs/sources/configuration/_index.md

@ -640,7 +640,57 @@ wal_cleaner:
# Ring used by Loki ruler.
# The CLI flags prefix for this block config is ruler.ring
[ring: <ring_config>]
ring:
kvstore:
# Backend storage to use for the ring. Supported values are: consul, etcd,
# inmemory, memberlist, multi.
# CLI flag: -<prefix>.store
[store: <string> | default = "memberlist"]
# The prefix for the keys in the store. Should end with a /.
# CLI flag: -<prefix>.prefix
[prefix: <string> | default = "collectors/"]
# The consul_config configures the consul client.
[consul: <consul_config>]
# The etcd_config configures the etcd client.
[etcd: <etcd_config>]
multi:
# Primary backend storage used by multi-client.
# CLI flag: -<prefix>.multi.primary
[primary: <string> | default = ""]
# Secondary backend storage used by multi-client.
# CLI flag: -<prefix>.multi.secondary
[secondary: <string> | default = ""]
# Mirror writes to secondary store.
# CLI flag: -<prefix>.multi.mirror-enabled
[mirror_enabled: <boolean> | default = false]
# Timeout for storing value to secondary store.
# CLI flag: -<prefix>.multi.mirror-timeout
[mirror_timeout: <duration> | default = 2s]
# Interval between heartbeats sent to the ring. 0 = disabled.
# CLI flag: -<prefix>.heartbeat-period
[heartbeat_period: <duration> | default = 15s]
# The heartbeat timeout after which ruler ring members are considered unhealthy
# within the ring. 0 = never (timeout disabled).
# CLI flag: -<prefix>.heartbeat-timeout
[heartbeat_timeout: <duration> | default = 1m]
# Name of network interface to read addresses from.
# CLI flag: -<prefix>.instance-interface-names
[instance_interface_names: <list of string> | default = [eth0 en0]]
# The number of tokens the lifecycler will generate and put into the ring if
# it joined without transferring tokens from another lifecycler.
# CLI flag: -<prefix>.num-tokens
[num_tokens: <int> | default = 128]
```
## azure_storage_config

Loading…
Cancel
Save