5201 zio interceptor#5203
Open
cheleb wants to merge 5 commits into
Open
Conversation
3d37fca to
9b9a8a3
Compare
9b9a8a3 to
0252534
Compare
2c0dd28 to
e16c0cb
Compare
e16c0cb to
353fea1
Compare
adamw
reviewed
May 12, 2026
| //> using dep com.softwaremill.sttp.tapir::tapir-zio-http-server:1.13.18 | ||
| //> using dep com.softwaremill.sttp.tapir::tapir-swagger-ui-bundle:1.13.18 | ||
| //> using dep com.softwaremill.sttp.tapir::tapir-zio:1.13.18 | ||
| //> using dep com.softwaremill.sttp.tapir::tapir-zio-tracing:1.13.18 |
Member
There was a problem hiding this comment.
Ah, zio-tracing is not yet published, so this will fail in the build. You'll need to comment out the entire file for now, we'll bring it back after a release of an initial version
- Renamed zioTracing to zioObservability in build.sbt and related project files. - Added ZIOObservabiltyExample demonstrating ZIO with Tapir and OpenTelemetry for tracing. - Introduced ZIOpenTelemetry trait for OpenTelemetry integration. - Created LoggerProvider, MeterProvider, and TracerProvider for handling logging, metrics, and tracing respectively. - Implemented OltpEndpoint trait for managing OTLP gRPC endpoint configurations. - Developed ZIOtelBase and ZIOtelLayer for setting up OpenTelemetry layers. - Added ZIOtelTracing and ZIOtelTracingConfig for configuring tracing behavior. - Created test applications for verifying ZIO Observability functionality. - Updated tests to validate tracing behavior with in-memory span exporter.
Integrate OpenTelemetry metrics into the ZIO observability layer by: - Adding `opentelemetryMetrics` dependency to `zio-observability` project. - Configuring `ZIOtelBase` to include `OpenTelemetry.metrics` and `OpenTelemetry.zioMetrics` in the layer stack. - Adding `OpenTelemetryMetrics` interceptor to the ZioHttpServerOptions. - Adding a new ZIO OpenTelemetry observability example.
Add a new `.skip` example demonstrating how to integrate ZIO with Tapir and OpenTelemetry for tracing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.