Skip to content

Commit 825ef3a

Browse files
fix(core): default to http otel protocol if not supplied
Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
1 parent 4a98647 commit 825ef3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/core/src/otel.rs

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pub struct OtelConfig {
3232
/// Overrides the OpenTelemetry endpoint for logs.
3333
pub logs_endpoint: Option<String>,
3434
/// Determines whether http or grpc will be used for exporting the telemetry.
35+
#[serde(default)]
3536
pub protocol: OtelProtocol,
3637
}
3738

0 commit comments

Comments
 (0)