Skip to content

Commit

Permalink
Update cmd/thanos/receive.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matej Gera <[email protected]>
Signed-off-by: Nicolas Takashi <[email protected]>
  • Loading branch information
nicolastakashi and matej-g authored Jan 8, 2025
1 parent b7a038e commit 5ad37d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thanos/receive.go
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ func (rc *receiveConfig) registerFlag(cmd extkingpin.FlagClause) {
cmd.Flag("receive.limits-config-reload-timer", "Minimum amount of time to pass for the limit configuration to be reloaded. Helps to avoid excessive reloads.").
Default("1s").Hidden().DurationVar(&rc.limitsConfigReloadTimer)

cmd.Flag("receive.otlp-enable-target-info", "Disable target information OTLP metrics ingested by Receive. If enabled, converts the resource to the target info metric").Default("fakse").BoolVar(&rc.otlpEnableTargetInfo)
cmd.Flag("receive.otlp-enable-target-info", "Enables target information in OTLP metrics ingested by Receive. If enabled, it converts the resource to the target info metric").Default("true").BoolVar(&rc.otlpEnableTargetInfo)
cmd.Flag("receive.otlp-promote-resource-attributes", "(Repeatable) Resource attributes to include in OTLP metrics ingested by Receive.").Default("").StringsVar(&rc.otlpResourceAttributes)

rc.featureList = cmd.Flag("enable-feature", "Comma separated experimental feature names to enable. The current list of features is "+metricNamesFilter+".").Default("").Strings()
Expand Down

0 comments on commit 5ad37d2

Please sign in to comment.