evanderkoogh / otel-cf-workers

An OpenTelemetry compatible library for instrumenting and exporting traces for Cloudflare Workers
BSD 3-Clause "New" or "Revised" License
208 stars 39 forks source link

Allow custom resource attributes #145

Open jasonkuhrt opened 1 month ago

jasonkuhrt commented 1 month ago

Hey, here's the situation:

jasonkuhrt commented 1 month ago

Ah found https://github.com/evanderkoogh/otel-cf-workers/blob/af75f359efc279582990fb1d8c9245ed75069597/src/sdk.ts#L53

jasonkuhrt commented 1 month ago

Ok so I think this is a feature request from our side to be able to add resource attributes, e.g.:

CleanShot 2024-05-31 at 09 06 57@2x

jasonkuhrt commented 1 month ago

My current local patch:

CleanShot 2024-05-31 at 09 31 35@2x

oxcafedead commented 4 weeks ago

@jasonkuhrt can you please take a look - maybe my PR is about the same issue? - https://github.com/evanderkoogh/otel-cf-workers/pull/127

jasonkuhrt commented 4 weeks ago

@oxcafedead that would be perfect yep!