Skip to content

Commit db6f285

Browse files
authored
otel: Update 000_opentelemetry_source_options.md (#209)
2 parents d6ec341 + 9860607 commit db6f285

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/_admin-guide/060_Sources/102_OpenTelemetry/000_opentelemetry_source_options.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,20 @@ The `tls()` option accepts the following nested sub-options.
4343
* ca-file()
4444
* key-file()
4545
* cert-file()
46+
* peer-verify()
4647

4748
#### Example: configure an OpenTelemetry source using auth(tls())
4849

4950
```config
50-
destination {
51+
source {
5152
opentelemetry(
52-
url("your-otel-server:1234")
53+
port(1234)
5354
auth(
5455
tls(
5556
ca-file("/path/to/ca.pem")
5657
key-file("/path/to/key.pem")
5758
cert-file("/path/to/cert.pem")
59+
peer-verify(yes)
5860
)
5961
)
6062
);

doc/_admin-guide/070_Destinations/157_OpenTelemetry/000_opentelemetry-destination-options.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ The `tls()` option accepts the following nested sub-options.
4343
* ca-file()
4444
* key-file()
4545
* cert-file()
46+
* peer-verify()
4647

4748
```config
4849
destination {
@@ -53,6 +54,7 @@ destination {
5354
ca-file("/path/to/ca.pem")
5455
key-file("/path/to/key.pem")
5556
cert-file("/path/to/cert.pem")
57+
peer-verify(yes)
5658
)
5759
)
5860
);

0 commit comments

Comments
 (0)