-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[opentelemetry-instrumentation-aws-lambda] cloud.account.id resource detection gets mapped to labels.cloud_account_id in elasticsearch #2463
Comments
Hi @calindurnea. I work at Elastic on Observability things, though not on the components responsible for ingesting data into Elasticsearch. This behaviour, mapping resource attributes to (If you aren't able to read that slack thread, please let me know and I can reproduce the relevant comments here.) This mapping isn't ideal, and Elastic has plans to improve the ingest of OTLP data to be more native, but that is the way it works currently. That thread explains the reasons why better, in general. Why the |
@trentm in this case, the bug is with the instrumentation. Lines 239 to 254 in 9b43ccb
(APM Server does understand |
Hello @axw, From your understanding is this something that has a low level of complexity to fix? if that would be the case, I might give it a try :) |
@calindurnea I'm not sure to be honest, I'm not familiar enough with opentelemetry-js or the Lambda instrumentation. Hopefully @trentm will know 🤞 |
hello @trentm, is this something you can share some knowledge on? |
What version of OpenTelemetry are you using?
What version of Node are you using?
20
What did you do?
Using the configuration provided below as a lambda layer, I am instrumenting a lambda.
What did you expect to see?
The cloud.account.id to be part of the Cloud section
What did you see instead?
The cloud.account.id is part of the labels.
I am not sure if this is related to the open-telemetry packages or elasticsearch, but I would like to make sure that there is nothing wrong with this.
Additional context
Instrumentation layer used:
The text was updated successfully, but these errors were encountered: