Commit 8737f91
feat: Refactor agentscope instrument using genai util to replace (#82)
* Squashed commit of the following:
commit 6b8e48ebd909636ce4c2d8631b2b382fb5bb8e32
Author: 流屿 <[email protected]>
Date: Thu Dec 4 20:44:50 2025 +0800
fix: span exporter error
Change-Id: I0e7a55eece19a166236d931bf69e590ea3a76ed1
Co-developed-by: Cursor <[email protected]>
commit c1f6e3cc23b1dab15d5e6582211ac679588ef871
Author: 流屿 <[email protected]>
Date: Thu Dec 4 15:51:27 2025 +0800
chore: use new genai util
Change-Id: I681e478ffc86cd774aac5476fddf6ec4f22c68b6
Co-developed-by: Cursor <[email protected]>
commit cd2448c018efe4a2f5823e20d57862503b448692
Author: 流屿 <[email protected]>
Date: Thu Dec 4 15:40:38 2025 +0800
refactor: update genai util
Change-Id: I338a57c2a2311551bf293132b6dc54224823c3a1
Co-developed-by: Cursor <[email protected]>
commit 3141f49745ab756a2bbc89781cb75dd223186ce5
Author: 流屿 <[email protected]>
Date: Tue Dec 2 23:21:14 2025 +0800
refactor: agentscope use util genai
Change-Id: Ia6dd446c2ff04a9bc62f705b8001d2a978ae983d
Co-developed-by: Cursor <[email protected]>
commit c6217390ff5a5f704a2ab87c660c9159de41638e
Author: 流屿 <[email protected]>
Date: Mon Nov 24 14:11:14 2025 +0800
Refactor agentscope instrumentation to standard structure and drop v0 support
Change-Id: Ie267bd9304e8291895d2b4b80914698173598437
Co-developed-by: Cursor <[email protected]>
Change-Id: I16dfafe9ae766d2a36bbee1b773598e143a2af21
Co-developed-by: Cursor <[email protected]>
* fix(agentscope): add missing trace span attributes
Change-Id: Ib647add02a3828287eba027514ffc3961f672446
Co-developed-by: Cursor <[email protected]>
* chore: add __future__.annotations for forward type hints
Change-Id: I5f7cf397133843f23cbf98e1af4eed24dc616dab
Co-developed-by: Cursor <[email protected]>
* fix: tool context error
Change-Id: I82757e8cf43cc9210d9050be5925370593daf97a
Co-developed-by: Cursor <[email protected]>
* feat: add extended metrics
Change-Id: I41b0f92aad53265e1fa1f65e0da55d8269a6ce9e
Co-developed-by: Cursor <[email protected]>
* feat: add extended metrics
Change-Id: Idb02a70c0aa35eddf323518392544af46c23a1d2
Co-developed-by: Cursor <[email protected]>
* fix: test error fix
Change-Id: I5fe34b20168badff7efccb0a6345c566c35f4f34
Co-developed-by: Cursor <[email protected]>
* fix: fix test failed
Change-Id: I811f5942da5b4c74b7c963a854d187351eb547e4
Co-developed-by: Cursor <[email protected]>
* refactor: simplify structure and remove unused code
Change-Id: Id689c30a61620e97ec29ce9a6d4ae0ca75eb3a2a
Co-developed-by: Cursor <[email protected]>
* feat: add spankind
Change-Id: Ia9d28b59748a3f367c35529c5d9ac311eec32954
Co-developed-by: Cursor <[email protected]>
* using handler
Change-Id: I3a46ccb35472c2212f475b2ccefc0df51fa51c2a
Co-developed-by: Cursor <[email protected]>
* fix(agentscope): tool using handler function
Change-Id: Ie4f1c804a22639e6621fc2229d6813bd1d5f8026
Co-developed-by: Cursor <[email protected]>
* remove pytest.ini add metrics test
Change-Id: I760e6ba769fe398121bc45bbebdd128fec149f48
Co-developed-by: Cursor <[email protected]>
* Fix agentscope unit tests
Change-Id: Id9394f34545f935b053f3aee0348dfe5b82427cd
Co-developed-by: Cursor <[email protected]>
* Fix lint error
Change-Id: I49d21f443393e464b76067847b661a12bdf10f6b
Co-developed-by: Cursor <[email protected]>
* Fix tests
Change-Id: I0b50eab9480ee7576112fafe7b24c35a17caf871
Co-developed-by: Cursor <[email protected]>
* Add TODO comments
Change-Id: I50444daa100eef7b42749f72ef692066ad5f926b
Co-developed-by: Cursor <[email protected]>
---------
Co-authored-by: cirilla-zmh <[email protected]>1 parent ab1d7de commit 8737f91
File tree
81 files changed
+8988
-3422
lines changed- .github/workflows
- instrumentation-loongsuite
- loongsuite-instrumentation-agentscope
- _assets
- img_v0
- img
- AgentScopeStudio
- Aliyun
- src/opentelemetry/instrumentation/agentscope
- v0
- v1
- tests
- cassettes
- v0
- v1
- loongsuite-instrumentation-dashscope/src/loongsuite/instrumentation/dashscope
- util/opentelemetry-util-genai/src/opentelemetry/util/genai
- _extended_semconv
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
81 files changed
+8988
-3422
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
35 | 54 | | |
36 | 55 | | |
37 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
35 | 187 | | |
36 | 188 | | |
37 | 189 | | |
| |||
Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
0 commit comments