Commit 0ff547b
Feat/claude agent sdk (#213)
* wip: initial version to support ClaudeSDKClient.query() instrumentation (#209)
* wip: initial version to support ClaudeSDKClient.query() instrumentation
* add async generator wrapping for capturing output
* chore test
* chore is_streaming field
* wip: fixing query() test
* fix wrapping standalone query() function
* fix async gen function span staying active during the next functon call
* fix recording span error on iterator end
* support aliases for module functions
* add create_sdk_mcp_server wrapping and test
* mock claude transport for unit tests
* wip: mvp for starting proxyprocess to save claude cli requests spans
* magic: running proxy process for current spans context
* package binary solution
* bump version to 0.7.23a1
* Update src/lmnr/opentelemetry_lib/opentelemetry/instrumentation/claude_agent/__init__.py
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix tests, add grace before stop server
---------
Co-authored-by: Rakhman Asmatullayev <[email protected]>
Co-authored-by: Rakhman Asmatullayev <[email protected]>
Co-authored-by: Rakhman Asmatullayev <[email protected]>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>1 parent 7395dc5 commit 0ff547b
File tree
14 files changed
+1036
-10
lines changed- src/lmnr
- opentelemetry_lib
- opentelemetry/instrumentation/claude_agent
- tracing
- sdk
- tests
- test_instrumentations/test_claude_agent
14 files changed
+1036
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| 142 | + | |
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
| |||
0 commit comments