We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f26fcf commit 0185d5eCopy full SHA for 0185d5e
2 files changed
src/lib.rs
@@ -152,7 +152,7 @@ impl AppState {
152
}
153
154
155
-fn install_default_rustls_provider() {
+pub(crate) fn install_default_rustls_provider() {
156
let _ = rustls::crypto::ring::default_provider().install_default();
157
158
src/telemetry.rs
@@ -182,6 +182,7 @@ impl opentelemetry_http::HttpClient for AwcOtlpHttpClient {
182
183
/// Initializes logging / tracing. Returns whether `OTel` was activated.
184
pub fn init_telemetry() -> anyhow::Result<bool> {
185
+ crate::install_default_rustls_provider();
186
init_telemetry_with_log_layer(logfmt::LogfmtLayer::new())
187
188
0 commit comments