Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: refactor how we do defaults for runtime overrides #12448

Merged
merged 13 commits into from
Apr 3, 2024
Prev Previous commit
Next Next commit
update root block docs
Signed-off-by: Edward Welch <edward.welch@grafana.com>
  • Loading branch information
slim-bean committed Apr 3, 2024
commit 93730d025400b09d69eba5a4577e339a3b7cfb14
7 changes: 6 additions & 1 deletion tools/doc-generator/parse/root_blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ var (
{
Name: "limits_config",
StructType: []reflect.Type{reflect.TypeOf(validation.Limits{})},
Desc: "The limits_config block configures global and per-tenant limits in Loki.",
Desc: "The limits_config block configures global and per-tenant limits in Loki. The values here can be overridden in the `overrides` section of the runtime_config file",
},
{
Name: "frontend_worker",
Expand All @@ -151,6 +151,11 @@ var (
StructType: []reflect.Type{reflect.TypeOf(runtimeconfig.Config{})},
Desc: "Configuration for 'runtime config' module, responsible for reloading runtime configuration file.",
},
{
Name: "operational_config",
StructType: []reflect.Type{reflect.TypeOf(runtimeconfig.Config{})},
Desc: "These are values which allow you to control aspects of Loki's operation, most commonly used for controlling types of higher verbosity logging, the values here can be overridden in the `configs` section of the runtime_config file.",
},
{
Name: "tracing",
StructType: []reflect.Type{reflect.TypeOf(tracing.Config{})},
Expand Down
Loading