-
-
Notifications
You must be signed in to change notification settings - Fork 879
Description
Is your feature request related to a problem? Please describe.
I use the telemetry config to export spans to my observability platform.
But the trigger.dev spans are missing some properties that I use across all my services because I cannot set them, like the environment name.
I tried setting the OTEL_RESOURCE_ATTRIBUTES environment variable, but it didn't work 😕
Describe the solution you'd like to see
It may make sense to allow a telemetry.resource option to set them. With this we could set any attribute that might be relevant for us
Describe alternate solutions
I understand that this might mess up with the trigger backend somehow.
Instead of exposing the resource entirely, maybe allowing only a couple of attributes might work too.
In my case, being able to set the environment and the service.name (to specify which kind of worker im receiving spans from) would be perfect
Additional information
No response