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
persistentFlags.BoolVar(&opts.Cfg.TelemetryGCP, "telemetry-gcp", false, "Enable exporting directly to Google Cloud Monitoring.")
35
35
persistentFlags.StringVar(&opts.Cfg.TelemetryOTLP, "telemetry-otlp", "", "Enable exporting using OpenTelemetry Protocol (OTLP) to the specified endpoint (e.g. 'http://127.0.0.1:4318')")
36
36
persistentFlags.StringVar(&opts.Cfg.TelemetryServiceName, "telemetry-service-name", "toolbox", "Sets the value of the service.name resource attribute for telemetry data.")
37
+
persistentFlags.BoolVar(&opts.Cfg.SQLCommenter, "sql-commenter", false, "Enable appending SQLCommenter-format comments to SQL statements.")
37
38
persistentFlags.StringSliceVar(&opts.Cfg.UserAgentMetadata, "user-agent-metadata", []string{}, "Appends additional metadata to the User-Agent.")
Copy file name to clipboardExpand all lines: docs/en/reference/cli.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ description: >
22
22
||`--telemetry-gcp`| Enable exporting directly to Google Cloud Monitoring. ||
23
23
||`--telemetry-otlp`| Enable exporting using OpenTelemetry Protocol (OTLP) to the specified endpoint (e.g. 'http://127.0.0.1:4318')||
24
24
||`--telemetry-service-name`| Sets the value of the service.name resource attribute for telemetry data. |`toolbox`|
25
+
||`--sql-commenter`| Enable appending SQLCommenter-format comments to SQL statements. |`false`|
25
26
||`--config`| File path specifying the tool configuration. Cannot be used with --configs or --config-folder. ||
26
27
||`--configs`| Multiple file paths specifying tool configurations. Files will be merged. Cannot be used with --config or --config-folder. ||
27
28
||`--config-folder`| Directory path containing YAML tool configuration files. All .yaml and .yml files in the directory will be loaded and merged. Cannot be used with --config or --configs. ||
0 commit comments