Skip to content

[opentelemetry-instrumentation-aws-lambda] cloud.account.id to be set as span attribute instead of resource attribute #2547

Open
@calindurnea

Description

@calindurnea
  • This only affects the JavaScript OpenTelemetry library
  • This may affect other libraries, but I would like to get opinions here first

I have previously opened a bug #2463 related to cloud account id resource attribute being mapped to labels.cloud_account_id instead of cloud.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.

in this case, the bug is with the instrumentation. cloud.account.id is a resource attribute, but the instrumentation is setting it as a span attribute:

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions