Skip to content

Commit

Permalink
Fix compilation with otlp-trace feature
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave committed Dec 2, 2024
1 parent c337681 commit 52ad0fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
run: cargo fmt --all -- --check
- name: check +api-mocks
run: cargo check --features api-mocks
- name: check +otlp-trace
run: cargo check --features otlp-trace
- name: check cli -default +ring
run: cargo check -p divviup-cli --no-default-features --features ring,common
- name: check cli +default +admin
Expand Down
2 changes: 0 additions & 2 deletions src/telemetry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ pub fn metrics_exporter() -> Result<impl trillium::Handler, MetricsError> {
.with_trace_config(opentelemetry_sdk::trace::Config::default().with_resource(resource))
.with_exporter(opentelemetry_otlp::new_exporter().tonic())
.install_batch(opentelemetry_sdk::runtime::Tokio)
.unwrap()
.provider()
.unwrap(),
);

Expand Down

0 comments on commit 52ad0fa

Please sign in to comment.