Skip to content

Commit 02b114f

Browse files
committed
edit feature flag name and visibility
1 parent bf9ccd6 commit 02b114f

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

docs/configuration/config-file-reference.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4451,11 +4451,6 @@ grpc_client_config:
44514451
# URL of downstream Prometheus.
44524452
# CLI flag: -frontend.downstream-url
44534453
[downstream_url: <string> | default = ""]
4454-
4455-
# Experimental: Enables distributed execution of queries by passing logical
4456-
# query plan fragments to downstream components.
4457-
# CLI flag: -frontend.distributed_exec_enabled
4458-
[distributed_exec_enabled: <boolean> | default = false]
44594454
```
44604455

44614456
### `query_range_config`

pkg/frontend/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type CombinedFrontendConfig struct {
2121
FrontendV2 v2.Config `yaml:",inline"`
2222

2323
DownstreamURL string `yaml:"downstream_url"`
24-
DistributedExecEnabled bool `yaml:"distributed_exec_enabled"`
24+
DistributedExecEnabled bool `yaml:"distributed_exec_enabled" doc:"hidden"`
2525
}
2626

2727
func (cfg *CombinedFrontendConfig) RegisterFlags(f *flag.FlagSet) {
@@ -30,7 +30,7 @@ func (cfg *CombinedFrontendConfig) RegisterFlags(f *flag.FlagSet) {
3030
cfg.FrontendV2.RegisterFlags(f)
3131

3232
f.StringVar(&cfg.DownstreamURL, "frontend.downstream-url", "", "URL of downstream Prometheus.")
33-
f.BoolVar(&cfg.DistributedExecEnabled, "frontend.distributed_exec_enabled", false, "Experimental: Enables distributed execution of queries by passing logical query plan fragments to downstream components.")
33+
f.BoolVar(&cfg.DistributedExecEnabled, "frontend.distributed-exec-enabled", false, "Experimental: Enables distributed execution of queries by passing logical query plan fragments to downstream components.")
3434
}
3535

3636
// InitFrontend initializes frontend (either V1 -- without scheduler, or V2 -- with scheduler) or no frontend at

0 commit comments

Comments
 (0)