Skip to content

Commit 0e2046f

Browse files
feat: add mTLS support to otel exporter
1 parent ef89ed2 commit 0e2046f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flagd/cmd/start.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ func init() {
7070
" be present")
7171
flags.StringP(otelCollectorURI, "o", "", "Set the grpc URI of the OpenTelemetry collector "+
7272
"for flagd runtime. If unset, the collector setup will be ignored and traces will not be exported.")
73-
flags.StringP(otelCertPathFlagName, "oc", "", "tls certificate path to use with OpenTelemetry collector")
74-
flags.StringP(otelKeyPathFlagName, "ok", "", "tls key path to use with OpenTelemetry collector")
75-
flags.StringP(otelCAPathFlagName, "oca", "", "tls certificate authority path to use with OpenTelemetry collector")
73+
flags.StringP(otelCertPathFlagName, "D", "", "tls certificate path to use with OpenTelemetry collector")
74+
flags.StringP(otelKeyPathFlagName, "K", "", "tls key path to use with OpenTelemetry collector")
75+
flags.StringP(otelCAPathFlagName, "A", "", "tls certificate authority path to use with OpenTelemetry collector")
7676

7777
_ = viper.BindPFlag(corsFlagName, flags.Lookup(corsFlagName))
7878
_ = viper.BindPFlag(logFormatFlagName, flags.Lookup(logFormatFlagName))

0 commit comments

Comments
 (0)