Skip to content

5201 zio interceptor#5203

Open
cheleb wants to merge 5 commits into
softwaremill:masterfrom
cheleb:5201-zio-interceptor
Open

5201 zio interceptor#5203
cheleb wants to merge 5 commits into
softwaremill:masterfrom
cheleb:5201-zio-interceptor

Conversation

@cheleb
Copy link
Copy Markdown

@cheleb cheleb commented May 2, 2026

No description provided.

@cheleb cheleb force-pushed the 5201-zio-interceptor branch 2 times, most recently from 3d37fca to 9b9a8a3 Compare May 3, 2026 07:48
@cheleb cheleb force-pushed the 5201-zio-interceptor branch from 9b9a8a3 to 0252534 Compare May 9, 2026 17:05
@cheleb cheleb marked this pull request as ready for review May 10, 2026 14:04
@cheleb cheleb force-pushed the 5201-zio-interceptor branch from 2c0dd28 to e16c0cb Compare May 11, 2026 17:20
@cheleb cheleb force-pushed the 5201-zio-interceptor branch from e16c0cb to 353fea1 Compare May 11, 2026 20:19
//> 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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

cheleb added 3 commits May 12, 2026 21:03
- 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.
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.

3 participants