Skip to content

Commit 844641f

Browse files
authored
Add server name TLS option to OTLP exporter (#1203)
1 parent ba88e4c commit 844641f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/collector/otelcol.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ exporters:
182182
{{ if gt (len .TLS.Ca) 0 -}}ca_file: "{{- .TLS.Ca -}}"{{- end }}
183183
{{ if gt (len .TLS.Cert) 0 -}}cert_file: "{{- .TLS.Cert -}}"{{- end }}
184184
{{ if gt (len .TLS.Key) 0 -}}key_file: "{{- .TLS.Key -}}"{{- end }}
185+
{{ if gt (len .TLS.ServerName) 0 -}}server_name_override: "{{- .TLS.ServerName -}}"{{- end }}
185186
{{- end }}
186187
{{- if .Authenticator }}
187188
auth:

0 commit comments

Comments
 (0)