Open calindurnea opened 4 days ago
Yep, resource attributes should not go onto a span, that's correct. I think that might be incorrect in the current implementation here.
@pichlermarc thank you for the reply.
Would that mean that this attribute would be better fitted in the "opentelemetry-resource-detector-aws" package rather than here?
I have previously opened a bug https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2463 related to cloud account id resource attribute being mapped to
labels.cloud_account_id
instead ofcloud.account.id
in elastic.This was closed as it was not considered a bug with OpenTelemetry, but another person brought up a point that it might actually be a misconfiguration in the
opentelemetry-instrumentation-aws-lambda
instrumentation.I was not able to get any replies to this in that thread, so I would like to open this discussion to figure out if that is an actual bug or not.
If this is not the correct template for that, please let me know and i will try to fix it.