Docs: inject newlines into knob descriptions to avoid horizontal scroll bar (#4733)

pull/4761/head
Karen Miller 4 years ago committed by GitHub
parent 44d32c5ad4
commit f05cecf194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 54
      docs/sources/configuration/_index.md

@ -80,9 +80,12 @@ Pass the `-config.expand-env` flag at the command line to enable this way of set
```yaml ```yaml
# A comma-separated list of components to run. # A comma-separated list of components to run.
# The default value "all" runs Loki in single binary mode. # The default value "all" runs Loki in single binary mode.
# The value "read" is an alias to run only read-path related components (ex: querier, query-frontend, etc) but all in the same process. # The value "read" is an alias to run only read-path related components such as
# The value "write" is an alias to run only write-path related components (ex: distributor, compactor) but all in the same process. # the querier and query-frontend, but all in the same process.
# Supported values: all, compactor, distributor, ingester, querier, query-scheduler, ingester-querier, query-frontend, index-gateway, ruler, table-manager, read, write. # The value "write" is an alias to run only write-path related components such as
# the distributor and compactor, but all in the same process.
# Supported values: all, compactor, distributor, ingester, querier, query-scheduler,
# ingester-querier, query-frontend, index-gateway, ruler, table-manager, read, write.
[target: <string> | default = "all"] [target: <string> | default = "all"]
# Enables authentication through the X-Scope-OrgID header, which must be present # Enables authentication through the X-Scope-OrgID header, which must be present
@ -505,9 +508,10 @@ remote_write:
write_relabel_configs: write_relabel_configs:
[- <relabel_config> ...] [- <relabel_config> ...]
# Name of the remote write config, which if specified must be unique among remote write configs. # Name of the remote write config, which if specified must be unique among remote
# The name will be used in metrics and logging in place of a generated value to help users distinguish between # write configs.
# remote write configs. # The name will be used in metrics and logging in place of a generated value
# to help users distinguish between remote write configs.
[name: <string>] [name: <string>]
# Sets the `Authorization` header on every remote write request with the # Sets the `Authorization` header on every remote write request with the
@ -1048,8 +1052,8 @@ lifecycler:
[max_chunk_age: <duration> | default = 1h] [max_chunk_age: <duration> | default = 1h]
# How far in the past an ingester is allowed to query the store for data. # How far in the past an ingester is allowed to query the store for data.
# This is only useful for running multiple Loki binaries with a shared ring with a `filesystem` store, # This is only useful for running multiple Loki binaries with a shared ring
# which is NOT shared between the binaries. # with a `filesystem` store, which is NOT shared between the binaries.
# When using any "shared" object store like S3 or GCS, this value must always be left as 0. # When using any "shared" object store like S3 or GCS, this value must always be left as 0.
# It is an error to configure this to a non-zero value when using any object store other # It is an error to configure this to a non-zero value when using any object store other
# than `filesystem`. # than `filesystem`.
@ -1066,8 +1070,9 @@ lifecycler:
# CLI flag: -ingester.autoforget-unhealthy # CLI flag: -ingester.autoforget-unhealthy
[autoforget_unhealthy: <boolean> | default = false] [autoforget_unhealthy: <boolean> | default = false]
# The ingester WAL (Write Ahead Log) records incoming logs and stores them on the local file system # The ingester WAL (Write Ahead Log) records incoming logs and stores them on
# in order to guarantee persistence of acknowledged data in the event of a process crash. # the local file systems in order to guarantee persistence of acknowledged data
# in the event of a process crash.
wal: wal:
# Enables writing to WAL. # Enables writing to WAL.
# CLI flag: -ingester.wal-enabled # CLI flag: -ingester.wal-enabled
@ -1085,8 +1090,8 @@ wal:
# CLI flag: ingester.checkpoint-duration # CLI flag: ingester.checkpoint-duration
[checkpoint_duration: <duration> | default = 5m] [checkpoint_duration: <duration> | default = 5m]
# Maximum memory size the WAL may use during replay. After hitting this it will flush data to storage # Maximum memory size the WAL may use during replay. After hitting this,
# before continuing. # it will flush data to storage before continuing.
# A unit suffix (KB, MB, GB) may be applied. # A unit suffix (KB, MB, GB) may be applied.
[replay_memory_ceiling: <string> | default = 4GB] [replay_memory_ceiling: <string> | default = 4GB]
@ -2030,8 +2035,8 @@ The `limits_config` block configures global and per-tenant limits in Loki.
# priority: 1 # priority: 1
# period: 744h # period: 744h
# Selector is a Prometheus labels matchers that will apply the `period` retention only if # Selector is a Prometheus labels matchers that will apply the `period` retention only if
# the stream is matching. In case multiple stream are matching, the highest priority will be picked. # the stream is matching. In case multiple stream are matching, the highest
# If no rule is matched the `retention_period` is used. # priority will be picked. If no rule is matched the `retention_period` is used.
[retention_stream: <array> | default = none] [retention_stream: <array> | default = none]
# Feature renamed to 'runtime configuration', flag deprecated in favor of -runtime-config.file # Feature renamed to 'runtime configuration', flag deprecated in favor of -runtime-config.file
@ -2039,8 +2044,8 @@ The `limits_config` block configures global and per-tenant limits in Loki.
# CLI flag: -limits.per-user-override-config # CLI flag: -limits.per-user-override-config
[per_tenant_override_config: <string>] [per_tenant_override_config: <string>]
# Feature renamed to 'runtime configuration', flag deprecated in favor of -runtime-config.reload-period # Feature renamed to 'runtime configuration'; flag deprecated in favor of
# (runtime_config.period in YAML). # -runtime-config.reload-period (runtime_config.period in YAML).
# CLI flag: -limits.per-user-override-period # CLI flag: -limits.per-user-override-period
[per_tenant_override_period: <duration> | default = 10s] [per_tenant_override_period: <duration> | default = 10s]
@ -2070,7 +2075,8 @@ The `limits_config` block configures global and per-tenant limits in Loki.
# CLI flag: -ingester.per-stream-rate-limit-burst # CLI flag: -ingester.per-stream-rate-limit-burst
[per_stream_rate_limit_burst: <string|int> | default = "15MB"] [per_stream_rate_limit_burst: <string|int> | default = "15MB"]
# Limit how far back in time series data and metadata can be queried, up until lookback duration ago. # Limit how far back in time series data and metadata can be queried,
# up until lookback duration ago.
# This limit is enforced in the query frontend, the querier and the ruler. # This limit is enforced in the query frontend, the querier and the ruler.
# If the requested time range is outside the allowed range, the request will not fail, # If the requested time range is outside the allowed range, the request will not fail,
# but will be modified to only query data within the allowed time range. # but will be modified to only query data within the allowed time range.
@ -2318,14 +2324,16 @@ This way, one doesn't have to replicate configs in multiple places.
# How many times incoming data should be replicated to the ingester component. # How many times incoming data should be replicated to the ingester component.
[replication_factor: <int> | default = 3] [replication_factor: <int> | default = 3]
# When true, the ingester, compactor and query_scheduler ring tokens will be saved to files in the path_prefix directory # When true, the ingester, compactor, and query_scheduler ring tokens will be saved
# Loki will error if you set this to true and path_prefix is empty. # to files in the path_prefix directory. Loki will error if you set this to true
# and path_prefix is empty.
[persist_tokens: <boolean>: default = false] [persist_tokens: <boolean>: default = false]
# A common ring config to be used by all Loki rings. # A common ring configuration to be used by all Loki rings.
# If a common ring is given, its values are used to define any undefined ring values. For instance, # If a common ring is given, its values are used to define any undefined ring values.
# you can expect the `heartbeat_period` defined in the common section to be used by the distributor's ring, # For instance, you can expect the `heartbeat_period` defined in the common section
# but only if the distributor's ring itself doesn't have a `heartbeat_period` set. # to be used by the distributor's ring, but only if the distributor's ring itself
# doesn't have a `heartbeat_period` set.
[ring: <ring_config>] [ring: <ring_config>]
``` ```

Loading…
Cancel
Save