opentelemetry-sdk-workers icon indicating copy to clipboard operation
opentelemetry-sdk-workers copied to clipboard

An Otel SDK for Cloudflare Workers

Results 15 opentelemetry-sdk-workers issues
Sort by recently updated
recently updated
newest added

### Steps to reproduce See https://stackblitz.com/edit/cloudflare-templates-gdw8ku?file=src%2Findex.ts Given ```typescript const otelSdk = new WorkersSDK(request, ctx, { service: 'some-service-name', endpoint: 'https://httpbin.org/status/200', }); try { console.log('fetching...'); const upstreamResponse = await otelSdk.fetch('https://httpbin.org/uuid'); console.log('fetched. now...

One of the biggest warts with the Otel sdk today is we can not behave like the Node and Browser versions and automatically patch and flow tracestate through fetch calls....

The Exporters - especially the ProtoExporters are quite big. How about using the new Cloudflare `ServiceBinding` to run a ExporterWorker. So the sdk could get split into the minimal instrumentation...

On the off chance someone doesn't want to use OTLP, we should introduce a base class like the exporter base that provides support for exporting to another backend based off...