@downtrace/protocol 0.1.0

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.
@@ -0,0 +1,170 @@
1
+ {
2
+ "protocol": "0.1.0",
3
+ "agent": {
4
+ "name": "@downtrace/agent",
5
+ "version": "0.0.0",
6
+ "runtime": "node",
7
+ "runtimeVersion": "v24.0.0"
8
+ },
9
+ "instance": {
10
+ "id": "7d1e9c6a-4f2b-4c1e-9b0a-2f6d3e8a1c55",
11
+ "hostname": "web-1",
12
+ "pid": 4242
13
+ },
14
+ "deploy": {
15
+ "version": "8f71ac2",
16
+ "environment": "production"
17
+ },
18
+ "intervals": [
19
+ {
20
+ "start": 1756900000000,
21
+ "durationMs": 10000,
22
+ "endpoints": [
23
+ {
24
+ "method": "GET",
25
+ "route": "/products",
26
+ "count": 10,
27
+ "errors": 0,
28
+ "status": {
29
+ "success": 10,
30
+ "redirect": 0,
31
+ "clientError": 0,
32
+ "serverError": 0
33
+ },
34
+ "latency": {
35
+ "counts": [
36
+ 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
37
+ ],
38
+ "sum": 30.0,
39
+ "max": 3.9
40
+ }
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "start": 1756900010000,
46
+ "durationMs": 10000,
47
+ "endpoints": [
48
+ {
49
+ "method": "GET",
50
+ "route": "/products",
51
+ "count": 11,
52
+ "errors": 0,
53
+ "status": {
54
+ "success": 11,
55
+ "redirect": 0,
56
+ "clientError": 0,
57
+ "serverError": 0
58
+ },
59
+ "latency": {
60
+ "counts": [
61
+ 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
62
+ ],
63
+ "sum": 31.0,
64
+ "max": 3.9
65
+ }
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "start": 1756900020000,
71
+ "durationMs": 10000,
72
+ "endpoints": [
73
+ {
74
+ "method": "GET",
75
+ "route": "/products",
76
+ "count": 12,
77
+ "errors": 0,
78
+ "status": {
79
+ "success": 12,
80
+ "redirect": 0,
81
+ "clientError": 0,
82
+ "serverError": 0
83
+ },
84
+ "latency": {
85
+ "counts": [
86
+ 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
87
+ ],
88
+ "sum": 32.0,
89
+ "max": 3.9
90
+ }
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "start": 1756900030000,
96
+ "durationMs": 10000,
97
+ "endpoints": [
98
+ {
99
+ "method": "GET",
100
+ "route": "/products",
101
+ "count": 13,
102
+ "errors": 0,
103
+ "status": {
104
+ "success": 13,
105
+ "redirect": 0,
106
+ "clientError": 0,
107
+ "serverError": 0
108
+ },
109
+ "latency": {
110
+ "counts": [
111
+ 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
112
+ ],
113
+ "sum": 33.0,
114
+ "max": 3.9
115
+ }
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "start": 1756900040000,
121
+ "durationMs": 10000,
122
+ "endpoints": [
123
+ {
124
+ "method": "GET",
125
+ "route": "/products",
126
+ "count": 14,
127
+ "errors": 0,
128
+ "status": {
129
+ "success": 14,
130
+ "redirect": 0,
131
+ "clientError": 0,
132
+ "serverError": 0
133
+ },
134
+ "latency": {
135
+ "counts": [
136
+ 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
137
+ ],
138
+ "sum": 34.0,
139
+ "max": 3.9
140
+ }
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "start": 1756900050000,
146
+ "durationMs": 10000,
147
+ "endpoints": [
148
+ {
149
+ "method": "GET",
150
+ "route": "/products",
151
+ "count": 15,
152
+ "errors": 0,
153
+ "status": {
154
+ "success": 15,
155
+ "redirect": 0,
156
+ "clientError": 0,
157
+ "serverError": 0
158
+ },
159
+ "latency": {
160
+ "counts": [
161
+ 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
162
+ ],
163
+ "sum": 35.0,
164
+ "max": 3.9
165
+ }
166
+ }
167
+ ]
168
+ }
169
+ ]
170
+ }