You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are interested in volunteering please create a pull request against the [prometheus/prometheus](https://github.com/prometheus/prometheus) repository and propose yourself for the release series of your choice.
promQLLabelsDeleteName:=promQLLabelsDeleteCmd.Arg("name", "Name of the label to delete.").Required().String()
306
308
307
-
featureList:=app.Flag("enable-feature", "Comma separated feature names to enable. Currently unused.").Default("").Strings()
309
+
featureList:=app.Flag("enable-feature", "Comma separated feature names to enable. Valid options: promql-experimental-functions, promql-delayed-name-removal. See https://prometheus.io/docs/prometheus/latest/feature_flags/ for more details").Default("").Strings()
308
310
309
311
documentationCmd:=app.Command("write-documentation", "Generate command line documentation. Internal use.").Hidden()
310
312
@@ -338,10 +340,14 @@ func main() {
338
340
opts:=strings.Split(f, ",")
339
341
for_, o:=rangeopts {
340
342
switcho {
343
+
case"promql-experimental-functions":
344
+
parser.EnableExperimentalFunctions=true
345
+
case"promql-delayed-name-removal":
346
+
promqlEnableDelayedNameRemoval=true
341
347
case"":
342
348
continue
343
349
default:
344
-
fmt.Printf(" WARNING: --enable-feature is currently a no-op")
350
+
fmt.Printf(" WARNING: Unknown feature passed to --enable-feature: %s", o)
| <codeclass="text-nowrap">--enable-feature</code> <codeclass="text-nowrap">...<codeclass="text-nowrap"> | Comma separated feature names to enable. Currently unused.|
18
+
| <codeclass="text-nowrap">--enable-feature</code> <codeclass="text-nowrap">...<codeclass="text-nowrap"> | Comma separated feature names to enable. Valid options: promql-experimental-functions, promql-delayed-name-removal. See https://prometheus.io/docs/prometheus/latest/feature_flags/ for more details|
0 commit comments