Skip to content

add LogfireTracingLayer as a public type #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 23, 2025
Merged

Conversation

davidhewitt
Copy link
Contributor

Closes #45

This allows configuring logfire by creating a tracing subscriber manually and installing logfire as a layer.

At the same time, this applied some much-needed refactoring to merge the tracing-opentelemetry layer inside LogfireTracingLayer. This makes delegation to the inner layer a little annoying but it makes the logic which wraps / couples to that layer easier to follow.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 65.71429% with 24 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/bridges/tracing.rs 67.85% 18 Missing ⚠️
src/lib.rs 57.14% 6 Missing ⚠️

📢 Thoughts on this report? Let us know!

@davidhewitt davidhewitt merged commit 7be7510 into main Jun 23, 2025
7 checks passed
@davidhewitt davidhewitt deleted the dh/expose-layer branch June 23, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow adding custom tracing-subscriber layers
2 participants