How can I change Service Name? #1832
Unanswered
tarek-sater-pf
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I don't think it's consistent between languages. Which language? Here's an example of how this is implemented for Nodejs: https://github.com/open-telemetry/opentelemetry-lambda/blob/main/nodejs/packages/layer/scripts/otel-handler#L7 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I'm receiving logs with OTLP but
service_name = <function_name>
. It seems to be hardcoded to be the Lambda function name.I tried setting OTEL_SERVICE_NAME and OTEL_RESOURCE_ATTRIBUTES and manual instrumentation via ATTR_SERVICE_NAME, but still I only get the function name.
Is there any way to set it?
Beta Was this translation helpful? Give feedback.
All reactions