blaxel 0.2.5__py3-none-any.whl → 0.2.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- blaxel/telemetry/instrumentation/blaxel_core.py +7 -7
- {blaxel-0.2.5.dist-info → blaxel-0.2.7.dist-info}/METADATA +1 -1
- {blaxel-0.2.5.dist-info → blaxel-0.2.7.dist-info}/RECORD +5 -5
- {blaxel-0.2.5.dist-info → blaxel-0.2.7.dist-info}/WHEEL +0 -0
- {blaxel-0.2.5.dist-info → blaxel-0.2.7.dist-info}/licenses/LICENSE +0 -0
@@ -73,7 +73,7 @@ class BlaxelCoreInstrumentor(BaseInstrumentor):
|
|
73
73
|
|
74
74
|
async def traced_list_tools(self, *args, **kwargs):
|
75
75
|
span_attributes = {
|
76
|
-
"tool.server": self.
|
76
|
+
"tool.server": self._url,
|
77
77
|
"tool.server_name": self.name,
|
78
78
|
"span.type": "tool.list",
|
79
79
|
**SpanManager.get_default_attributes(),
|
@@ -88,8 +88,8 @@ class BlaxelCoreInstrumentor(BaseInstrumentor):
|
|
88
88
|
# Patch convert_mcp_tool_to_blaxel_tool to wrap tool calls
|
89
89
|
orig_convert = blaxel.core.tools.convert_mcp_tool_to_blaxel_tool
|
90
90
|
|
91
|
-
def traced_convert_mcp_tool_to_blaxel_tool(websocket_client,
|
92
|
-
Tool = orig_convert(websocket_client,
|
91
|
+
def traced_convert_mcp_tool_to_blaxel_tool(websocket_client, tool):
|
92
|
+
Tool = orig_convert(websocket_client, tool)
|
93
93
|
orig_coroutine = Tool.coroutine
|
94
94
|
orig_sync_coroutine = Tool.sync_coroutine
|
95
95
|
|
@@ -97,8 +97,8 @@ class BlaxelCoreInstrumentor(BaseInstrumentor):
|
|
97
97
|
span_attributes = {
|
98
98
|
"tool.name": tool.name,
|
99
99
|
"tool.args": json.dumps(kwargs),
|
100
|
-
"tool.server":
|
101
|
-
"tool.server_name": name,
|
100
|
+
"tool.server": websocket_client._url,
|
101
|
+
"tool.server_name": websocket_client.name,
|
102
102
|
"span.type": "tool.call",
|
103
103
|
**SpanManager.get_default_attributes(),
|
104
104
|
}
|
@@ -110,8 +110,8 @@ class BlaxelCoreInstrumentor(BaseInstrumentor):
|
|
110
110
|
span_attributes = {
|
111
111
|
"tool.name": tool.name,
|
112
112
|
"tool.args": json.dumps(kwargs),
|
113
|
-
"tool.server":
|
114
|
-
"tool.server_name": name,
|
113
|
+
"tool.server": websocket_client._url,
|
114
|
+
"tool.server_name": websocket_client.name,
|
115
115
|
"span.type": "tool.call",
|
116
116
|
**SpanManager.get_default_attributes(),
|
117
117
|
}
|
@@ -394,7 +394,7 @@ blaxel/telemetry/exporters.py,sha256=EoX3uaBVku1Rg49pSNXKFyHhgY5OV3Ih6UlqgjF5epw
|
|
394
394
|
blaxel/telemetry/manager.py,sha256=3yYBxxqQKl1rCKrn0GVz9jR5jouC1nsElbAaH8tTtgA,9075
|
395
395
|
blaxel/telemetry/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
396
396
|
blaxel/telemetry/span.py,sha256=b8lpWe5nqek4w9YrBLJCIYz4Z3n9Z_49H_AkqpAGOiM,3660
|
397
|
-
blaxel/telemetry/instrumentation/blaxel_core.py,sha256=
|
397
|
+
blaxel/telemetry/instrumentation/blaxel_core.py,sha256=aPFI9RdOBrmqOpxIlMJaSZfrWtVGD14Iv5FsZ37vLsc,4930
|
398
398
|
blaxel/telemetry/instrumentation/blaxel_langgraph.py,sha256=sBxt8kzRjsFepm86vaCBbGvpYI4mWPK_PB3wiLxSuOk,4235
|
399
399
|
blaxel/telemetry/instrumentation/blaxel_langgraph_gemini.py,sha256=hQbOaaMsHte_Igq_vhPgNXYd40IwuqPB0TUP-5VAtME,11953
|
400
400
|
blaxel/telemetry/instrumentation/blaxel_llamaindex.py,sha256=HA4YUXrRYvG5U1J8MAJnymmmj4ZCDydv-pXXhrftHOA,3101
|
@@ -402,7 +402,7 @@ blaxel/telemetry/instrumentation/map.py,sha256=PCzZJj39yiYVYJrxLBNP-NW-tjjYyTijw
|
|
402
402
|
blaxel/telemetry/instrumentation/utils.py,sha256=KInMYZH-mu9_wvetmf0EmgrfN3Sw8IWk2Y95v2u90_U,1901
|
403
403
|
blaxel/telemetry/log/log.py,sha256=RvQByRjZMoP_dRaAZu8oK6DTegsHs-xV4W-UIqis6CA,2461
|
404
404
|
blaxel/telemetry/log/logger.py,sha256=NPAS3g82ryROjvc_DEZaTIfrcehoLEZoP-JkLxADxc0,4113
|
405
|
-
blaxel-0.2.
|
406
|
-
blaxel-0.2.
|
407
|
-
blaxel-0.2.
|
408
|
-
blaxel-0.2.
|
405
|
+
blaxel-0.2.7.dist-info/METADATA,sha256=TMY8tlVcSo9JoRvfB__zj7smeTpKfF2O5H0uuKfTFrQ,9875
|
406
|
+
blaxel-0.2.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
407
|
+
blaxel-0.2.7.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
|
408
|
+
blaxel-0.2.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|