Skip to content

Commit 82c3638

Browse files
committed
Fix comment
Signed-off-by: Caleb Schoepp <[email protected]>
1 parent 6df7262 commit 82c3638

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/telemetry/src/traces.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@ pub(crate) fn otel_tracing_layer<S: Subscriber + for<'span> LookupSpan<'span>>(
3434
],
3535
);
3636

37-
// This will configure the exporter based on the OTEL_EXPORTER_* environment variables. We
38-
// currently default to using the HTTP exporter but in the future we could select off of the
39-
// combination of OTEL_EXPORTER_OTLP_PROTOCOL and OTEL_EXPORTER_OTLP_TRACES_PROTOCOL to
40-
// determine whether we should use http/protobuf or grpc.
37+
// This will configure the exporter based on the OTEL_EXPORTER_* environment variables.
4138
let exporter: SpanExporterBuilder = match OtlpProtocol::traces_protocol_from_env() {
4239
OtlpProtocol::Grpc => opentelemetry_otlp::new_exporter().tonic().into(),
4340
OtlpProtocol::HttpProtobuf => opentelemetry_otlp::new_exporter().http().into(),

0 commit comments

Comments
 (0)