-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
I had an issue yesterday where the endpoint I used in the exporter configuration was slow or unavailable, throwing 503s.
During that time, P99 latency on my workers spiked to >15s without an obvious cause (because calls to the exporter aren't traced).
Is what I observed expected?
I checked the exporter code, and it uses a fetch call to send telemetry, but that means the worker cannot finish until that fetch call is completed?
otel-cf-workers/src/exporter.ts
Line 60 in effeb54
| unwrap(fetch)(this.url, params) |
This would impact latency and availability of the worker. I know you can schedule some calls to complete for after the worker returns to client, e.g. with waitUntil.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels