Open hairyhenderson opened 2 hours ago
Also, it turns out that resource attributes specified in the YAML get ignored - this should also be fixed...
/assign-me
(I'm about to issue a PR for this)
👋 Hey @hairyhenderson, this issue is already assigned to @thomaspoignant.
⚠️ It will become unassigned if it isn't closed within 10 days.
🔧 A maintainer can also add you to the list of assignees or swap you with the current assignee.
Observed behaviour
When setting the standard OTel environment variable
OTEL_RESOURCE_ATTRIBUTES
to a value likekey1=value1,key2=value2
, the go-feature-flag relay crashes:Either the type of
OpenTelemetryConfiguration.Resource.Attributes
should be changed tostring
to match the spec, or additional parsing will be necessary.related: https://github.com/knadh/koanf/issues/273
Expected Behavior
The
OTEL_RESOURCE_ATTRIBUTES
environment variable should be supported as expected.Steps to reproduce
No response