Troubleshooting Observability Issues with Effect/Platform Http Server and OpenTelemetry Integration
Team,
I am having really hard time trying to get observability working with my Http Server from effect/platform.
After so much time debugging I believe:
With Platform http api, the way we handle request is:
But then even though program has observability attached, because of the way webHandler is created, the connection between the outer effect and inside web handler execution is lost?
Therefore, any spans or logs within the HttpApi are not getting called?
If that is the case, how can we fix this?
I am having really hard time trying to get observability working with my Http Server from effect/platform.
After so much time debugging I believe:
With Platform http api, the way we handle request is:
But then even though program has observability attached, because of the way webHandler is created, the connection between the outer effect and inside web handler execution is lost?
Therefore, any spans or logs within the HttpApi are not getting called?
If that is the case, how can we fix this?
