forked from Handit-AI/handit-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtraces.json
More file actions
78 lines (78 loc) · 1.42 KB
/
traces.json
File metadata and controls
78 lines (78 loc) · 1.42 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
[
{
"timestamp": "2025-07-24T17:03:22.916Z",
"function": "main",
"file": "index.js",
"line": 1,
"duration": 150,
"calls": [
"fetch_data",
"process_data"
],
"metadata": {
"input": {
"query": "test"
},
"output": {
"result": "success"
}
}
},
{
"timestamp": "2025-07-24T17:03:22.917Z",
"function": "fetch_data",
"file": "index.js",
"line": 10,
"duration": 200,
"calls": [
"call_api"
],
"metadata": {
"url": "https://api.example.com/data",
"method": "GET",
"status": 200
}
},
{
"timestamp": "2025-07-24T17:03:22.917Z",
"function": "call_api",
"file": "index.js",
"line": 20,
"duration": 180,
"calls": [],
"metadata": {
"response_size": 1024,
"cache_hit": false
}
},
{
"timestamp": "2025-07-24T17:03:22.917Z",
"function": "process_data",
"file": "index.js",
"line": 30,
"duration": 300,
"calls": [
"predict_model"
],
"metadata": {
"data_size": 512,
"preprocessing_steps": [
"normalize",
"encode"
]
}
},
{
"timestamp": "2025-07-24T17:03:22.917Z",
"function": "predict_model",
"file": "index.js",
"line": 40,
"duration": 500,
"calls": [],
"metadata": {
"model": "gpt-3.5-turbo",
"tokens_used": 150,
"confidence": 0.95
}
}
]