Skip to content

Commit

Permalink
feat: add mTLS support to otel exporter
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Schoonover <[email protected]>
  • Loading branch information
kevinschoonover committed Aug 29, 2024
1 parent ef89ed2 commit febbbd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flagd/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ func init() {
" be present")
flags.StringP(otelCollectorURI, "o", "", "Set the grpc URI of the OpenTelemetry collector "+
"for flagd runtime. If unset, the collector setup will be ignored and traces will not be exported.")
flags.StringP(otelCertPathFlagName, "oc", "", "tls certificate path to use with OpenTelemetry collector")
flags.StringP(otelKeyPathFlagName, "ok", "", "tls key path to use with OpenTelemetry collector")
flags.StringP(otelCAPathFlagName, "oca", "", "tls certificate authority path to use with OpenTelemetry collector")
flags.StringP(otelCertPathFlagName, "D", "", "tls certificate path to use with OpenTelemetry collector")
flags.StringP(otelKeyPathFlagName, "K", "", "tls key path to use with OpenTelemetry collector")
flags.StringP(otelCAPathFlagName, "A", "", "tls certificate authority path to use with OpenTelemetry collector")

_ = viper.BindPFlag(corsFlagName, flags.Lookup(corsFlagName))
_ = viper.BindPFlag(logFormatFlagName, flags.Lookup(logFormatFlagName))
Expand Down

0 comments on commit febbbd3

Please sign in to comment.