Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ dependencies = [
"aws-durable-execution-sdk-python>=1.5.0",
"opentelemetry-api>=1.20.0,<=1.42.1",
"opentelemetry-sdk>=1.20.0,<=1.42.1",
"opentelemetry-semantic-conventions>=0.41b0,<=0.63b1",
"opentelemetry-exporter-otlp<=1.42.1",
"opentelemetry-propagator-aws-xray",
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from typing import TYPE_CHECKING

from opentelemetry import propagate, trace
from opentelemetry.semconv.attributes.service_attributes import SERVICE_NAME
from opentelemetry.propagators.composite import CompositePropagator

from aws_durable_execution_sdk_python_otel.otel_plugin_config import (
Expand Down Expand Up @@ -93,7 +94,7 @@ def _build_resource():
if not function_name:
return None
attributes: dict[str, str] = {
"service.name": function_name,
SERVICE_NAME: function_name,
"faas.name": function_name,
"cloud.provider": "aws",
"cloud.platform": "aws_lambda",
Expand Down