5201 zio interceptor#5203
Conversation
3d37fca to
9b9a8a3
Compare
9b9a8a3 to
0252534
Compare
e16c0cb to
353fea1
Compare
| //> 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 |
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
|
Some notes from Claude's review: Regarding the "observability" / tracing module naming - there is already a |
2cf46b8 to
49378ee
Compare
|
V2, I've moved the modules in a top level observability folder and uses |
ed5940a to
c384c67
Compare
…and clarify comments for OpenTelemetry Runtime Metrics service.
Add a new section to the observability documentation explaining the integration with the `otel4z` module. This includes: - Dependency information for `tapir-otel4z`. - Overview of the `otel4z` module and its relationship with `zio-opentelemetry`. - Description of available layers: `otel4zLogging`, `otel4zMetrics`, and `otel4zTracing`. - Guidance on using the `ZIOpenTelemetry` trait for application bootstrapping. - Link to the full usage example.
Replace `getFirst()` with `get(0)` when retrieving finished spans to prevent runtime errors on Java 11 environments where `getFirst()` is unavailable.
…orter configuration
c384c67 to
56312b0
Compare
|
Thanks! I've got another round of reviews. I'm also a bit confused (just as Claude) whether this is otel4s-based, or zio-opentelemetry based? |
|
Thanks, sorry for typos and naming :'( TBH, I'm not sure with solution to the point (4) Carrier && Shared mutable carrier across requests Should I extract all headers, from the incoming request ? Response of my LLM:
|
286d1d0 to
7703d75
Compare
- Updated build.sbt to replace references from otel4z to zioOpenTelemetry. - Renamed the project from otel4z to zioOpenTelemetry and updated its settings. - Removed the old ZIOpenTelemetry trait and replaced it with a new implementation under the zio-opentelemetry module. - Introduced new LoggerProvider, MeterProvider, TracerProvider, and OtlpEndpoint classes for OpenTelemetry integration. - Added ZIOpenTelemetryTracing and ZIOpenTelemetryTracingConfig for tracing requests. - Created test applications and tests for the new zio-opentelemetry functionality.
7703d75 to
82c2bb2
Compare
…ier for improved header handling
…eprecated ZIOtelTracingTest
No description provided.