Skip to content

Commit 99a1736

Browse files
committed
Add observability to the agentcore agent
1 parent 9a15a87 commit 99a1736

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cx-agent-backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ ENV PYTHONPATH="/app/src"
2222
EXPOSE 8080
2323

2424
# Start the CX Agent service
25-
CMD ["python", "src/run.py"]
25+
CMD ["opentelemetry-instrument", "python", "src/run.py"]

cx-agent-backend/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dependencies = [
1818
"structlog>=23.2.0",
1919
"dependency-injector>=4.41.0",
2020
"tavily-python>=0.3.0",
21+
"aws-opentelemetry-distro>=0.1.0",
2122
]
2223

2324
[project.optional-dependencies]

0 commit comments

Comments
 (0)