Repository navigation
Expand file tree
/
Copy pathdata.json
More file actions
183 lines (183 loc) · 6.3 KB
/
Copy pathdata.json
File metadata and controls
183 lines (183 loc) · 6.3 KB
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
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
{
"spans": {
"gen_ai.client.inference": [
"gen_ai.input.messages",
"gen_ai.operation.name",
"gen_ai.output.messages",
"gen_ai.provider.name",
"gen_ai.request.max_tokens",
"gen_ai.request.model",
"gen_ai.request.stop_sequences",
"gen_ai.request.stream",
"gen_ai.request.temperature",
"gen_ai.request.top_k",
"gen_ai.request.top_p",
"gen_ai.response.id",
"gen_ai.response.model",
"gen_ai.response.time_to_first_chunk",
"gen_ai.system_instructions",
"gen_ai.usage.cache_read.input_tokens",
"gen_ai.usage.cache_write.input_tokens",
"gen_ai.usage.input_tokens",
"gen_ai.usage.output_tokens",
"server.address",
"server.port"
],
"gen_ai.execute_tool.internal": [
"gen_ai.operation.name",
"gen_ai.tool.call.arguments",
"gen_ai.tool.call.id",
"gen_ai.tool.description",
"gen_ai.tool.name",
"gen_ai.tool.type"
],
"gen_ai.invoke_agent.internal": [
"gen_ai.operation.name",
"gen_ai.request.model"
]
},
"events": {},
"metrics": {},
"entities": {},
"findings": [
{
"id": "instrumentation_scope_schema_url_missing",
"message": "Instrumentation scope 'com.anthropic.sdk.python' does not have schema_url.",
"signal_type": "instrumentation_scope",
"signal_name": "com.anthropic.sdk.python",
"context": {
"actual": null,
"expected": {
"present": true
}
}
},
{
"id": "missing_attribute",
"message": "Attribute 'anthropic.tool_result.content' does not exist in the registry.",
"signal_type": "span",
"signal_name": "anthropic.custom_tool_use get_current_weather",
"context": {
"attribute_key": "anthropic.tool_result.content"
}
},
{
"id": "span_status_ok_set_by_instrumentation",
"message": "Span 'anthropic.custom_tool_use get_current_weather' has status.code='ok'; instrumentations must leave status UNSET on success (OK is reserved for application code).",
"signal_type": "span",
"signal_name": "anthropic.custom_tool_use get_current_weather",
"context": {
"status_code": "ok"
}
},
{
"id": "genai_span_name_format",
"message": "execute_tool span name should be 'execute_tool get_current_weather', got 'anthropic.custom_tool_use get_current_weather'",
"signal_type": "span",
"signal_name": "anthropic.custom_tool_use get_current_weather",
"context": {
"expected_form": "execute_tool get_current_weather",
"keyed_attr": "gen_ai.tool.name",
"operation": "execute_tool"
}
},
{
"id": "missing_attribute",
"message": "Attribute 'anthropic.beta' does not exist in the registry.",
"signal_type": "span",
"signal_name": "anthropic.messages.create",
"context": {
"attribute_key": "anthropic.beta"
}
},
{
"id": "missing_attribute",
"message": "Attribute 'anthropic.message.stop_reason' does not exist in the registry.",
"signal_type": "span",
"signal_name": "anthropic.messages.create",
"context": {
"attribute_key": "anthropic.message.stop_reason"
}
},
{
"id": "genai_expected_attribute_missing",
"message": "Span 'anthropic.messages.create' (operation 'chat') is missing expected attribute 'gen_ai.response.finish_reasons'",
"signal_type": "span",
"signal_name": "anthropic.messages.create",
"context": {
"missing_attribute": "gen_ai.response.finish_reasons",
"operation": "chat"
}
},
{
"id": "span_status_ok_set_by_instrumentation",
"message": "Span 'anthropic.messages.create' has status.code='ok'; instrumentations must leave status UNSET on success (OK is reserved for application code).",
"signal_type": "span",
"signal_name": "anthropic.messages.create",
"context": {
"status_code": "ok"
}
},
{
"id": "genai_span_name_format",
"message": "chat span name should be 'chat claude-sonnet-4-20250514', got 'anthropic.messages.create'",
"signal_type": "span",
"signal_name": "anthropic.messages.create",
"context": {
"expected_form": "chat claude-sonnet-4-20250514",
"keyed_attr": "gen_ai.request.model",
"operation": "chat"
}
},
{
"id": "genai_expected_attribute_missing",
"message": "Span 'anthropic.messages.tool_runner' (operation 'invoke_agent') is missing expected attribute 'gen_ai.response.finish_reasons'",
"signal_type": "span",
"signal_name": "anthropic.messages.tool_runner",
"context": {
"missing_attribute": "gen_ai.response.finish_reasons",
"operation": "invoke_agent"
}
},
{
"id": "genai_expected_attribute_missing",
"message": "Span 'anthropic.messages.tool_runner' (operation 'invoke_agent') is missing expected attribute 'gen_ai.usage.input_tokens'",
"signal_type": "span",
"signal_name": "anthropic.messages.tool_runner",
"context": {
"missing_attribute": "gen_ai.usage.input_tokens",
"operation": "invoke_agent"
}
},
{
"id": "genai_expected_attribute_missing",
"message": "Span 'anthropic.messages.tool_runner' (operation 'invoke_agent') is missing expected attribute 'gen_ai.usage.output_tokens'",
"signal_type": "span",
"signal_name": "anthropic.messages.tool_runner",
"context": {
"missing_attribute": "gen_ai.usage.output_tokens",
"operation": "invoke_agent"
}
},
{
"id": "span_status_ok_set_by_instrumentation",
"message": "Span 'anthropic.messages.tool_runner' has status.code='ok'; instrumentations must leave status UNSET on success (OK is reserved for application code).",
"signal_type": "span",
"signal_name": "anthropic.messages.tool_runner",
"context": {
"status_code": "ok"
}
},
{
"id": "genai_span_name_format",
"message": "invoke_agent span name should be 'invoke_agent', got 'anthropic.messages.tool_runner'",
"signal_type": "span",
"signal_name": "anthropic.messages.tool_runner",
"context": {
"expected_form": "invoke_agent",
"keyed_attr": "gen_ai.agent.name",
"operation": "invoke_agent"
}
}
]
}