Skip to content

Commit 0332114

Browse files
authored
docs: added docs for OTLP_ENDPOINT around the defaults and format sent (#157)
1 parent a059696 commit 0332114

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ Options:
234234
[env: JSON_OUTPUT=]
235235
236236
--otlp-endpoint <OTLP_ENDPOINT>
237+
The grpc endpoint for opentelemetry. Telemetry is sent to this endpoint as OTLP over gRPC.
238+
e.g. `http://localhost:4317`
237239
[env: OTLP_ENDPOINT=]
238240
239241
--cors-allow-origin <CORS_ALLOW_ORIGIN>

router/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ struct Args {
9696
#[clap(long, env)]
9797
json_output: bool,
9898

99+
/// The grpc endpoint for opentelemetry. Telemetry is sent to this endpoint as OTLP over gRPC.
100+
/// e.g. `http://localhost:4317`
99101
#[clap(long, env)]
100102
otlp_endpoint: Option<String>,
101103
}

0 commit comments

Comments
 (0)