@sentry/conventions 0.17.0 → 0.20.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.
- package/README.md +22 -0
- package/dist/attributes.cjs +2 -2
- package/dist/attributes.cjs.map +1 -1
- package/dist/attributes.d.cts +1093 -83
- package/dist/attributes.d.mts +1093 -83
- package/dist/attributes.d.ts +1093 -83
- package/dist/attributes.mjs +2 -2
- package/dist/attributes.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/op.cjs +1 -1
- package/dist/op.cjs.map +1 -1
- package/dist/op.d.cts +262 -83
- package/dist/op.d.mts +262 -83
- package/dist/op.d.ts +262 -83
- package/dist/op.mjs +1 -1
- package/dist/op.mjs.map +1 -1
- package/package.json +1 -1
package/dist/op.d.ts
CHANGED
|
@@ -1,165 +1,344 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A full page load of a web application.
|
|
3
3
|
*/
|
|
4
|
-
declare const
|
|
4
|
+
declare const PAGELOAD = "pageload";
|
|
5
5
|
/**
|
|
6
6
|
* Client-side browser history change in a web application.
|
|
7
7
|
*/
|
|
8
|
-
declare const
|
|
8
|
+
declare const NAVIGATION = "navigation";
|
|
9
|
+
/**
|
|
10
|
+
* A client-side automatic redirect navigation (e.g. from framework router redirects) triggerign a browser history change.
|
|
11
|
+
*/
|
|
12
|
+
declare const NAVIGATION_REDIRECT = "navigation.redirect";
|
|
9
13
|
/**
|
|
10
14
|
* Resource as per [Performance Resource Timing](https://w3c.github.io/resource-timing/#sec-performanceresourcetiming). Defaults to resource.other if resource cannot be indentified.
|
|
11
15
|
*/
|
|
12
|
-
declare const
|
|
13
|
-
declare const
|
|
14
|
-
declare const
|
|
15
|
-
declare const
|
|
16
|
-
declare const
|
|
17
|
-
declare const
|
|
18
|
-
declare const
|
|
19
|
-
declare const
|
|
20
|
-
declare const
|
|
16
|
+
declare const RESOURCE = "resource";
|
|
17
|
+
declare const RESOURCE_SCRIPT = "resource.script";
|
|
18
|
+
declare const RESOURCE_LINK = "resource.link";
|
|
19
|
+
declare const RESOURCE_IMG = "resource.img";
|
|
20
|
+
declare const RESOURCE_CSS = "resource.css";
|
|
21
|
+
declare const RESOURCE_AUDIO = "resource.audio";
|
|
22
|
+
declare const RESOURCE_VIDEO = "resource.video";
|
|
23
|
+
declare const RESOURCE_IFRAME = "resource.iframe";
|
|
24
|
+
declare const RESOURCE_OTHER = "resource.other";
|
|
25
|
+
/**
|
|
26
|
+
* Loading of a resource initiated by a worker (e.g. Web Worker or Service Worker).
|
|
27
|
+
*/
|
|
28
|
+
declare const RESOURCE_WORKER = "resource.worker";
|
|
29
|
+
/**
|
|
30
|
+
* Loading of an icon resource.
|
|
31
|
+
*/
|
|
32
|
+
declare const RESOURCE_ICON = "resource.icon";
|
|
33
|
+
/**
|
|
34
|
+
* Loading of a resource initiated by a frame.
|
|
35
|
+
*/
|
|
36
|
+
declare const RESOURCE_FRAME = "resource.frame";
|
|
37
|
+
/**
|
|
38
|
+
* Loading of a resource initiated by an `<object>` element.
|
|
39
|
+
*/
|
|
40
|
+
declare const RESOURCE_OBJECT = "resource.object";
|
|
41
|
+
/**
|
|
42
|
+
* A hyperlink auditing ping request.
|
|
43
|
+
*/
|
|
44
|
+
declare const RESOURCE_PING = "resource.ping";
|
|
45
|
+
/**
|
|
46
|
+
* Loading of a `<track>` element resource (e.g. subtitles or captions).
|
|
47
|
+
*/
|
|
48
|
+
declare const RESOURCE_TRACK = "resource.track";
|
|
21
49
|
/**
|
|
22
50
|
* Usage of browser APIs or functionality
|
|
23
51
|
*/
|
|
24
|
-
declare const
|
|
25
|
-
declare const
|
|
52
|
+
declare const BROWSER = "browser";
|
|
53
|
+
declare const BROWSER_PAINT = "browser.paint";
|
|
54
|
+
/**
|
|
55
|
+
* The unload event phase of a browser navigation.
|
|
56
|
+
*/
|
|
57
|
+
declare const BROWSER_UNLOAD_EVENT = "browser.unload_event";
|
|
58
|
+
/**
|
|
59
|
+
* The redirect phase of a browser navigation.
|
|
60
|
+
*/
|
|
61
|
+
declare const BROWSER_REDIRECT = "browser.redirect";
|
|
62
|
+
/**
|
|
63
|
+
* The DOMContentLoaded event phase of a browser navigation.
|
|
64
|
+
*/
|
|
65
|
+
declare const BROWSER_DOM_CONTENT_LOADED_EVENT = "browser.dom_content_loaded_event";
|
|
66
|
+
/**
|
|
67
|
+
* The load event phase of a browser navigation.
|
|
68
|
+
*/
|
|
69
|
+
declare const BROWSER_LOAD_EVENT = "browser.load_event";
|
|
70
|
+
/**
|
|
71
|
+
* The connection phase of a browser navigation.
|
|
72
|
+
*/
|
|
73
|
+
declare const BROWSER_CONNECT = "browser.connect";
|
|
74
|
+
/**
|
|
75
|
+
* The secure connection (TLS/SSL) phase of a browser navigation.
|
|
76
|
+
*/
|
|
77
|
+
declare const BROWSER_TLS_SSL = "browser.tls_ssl";
|
|
78
|
+
/**
|
|
79
|
+
* The cache lookup / fetch start phase of a browser navigation.
|
|
80
|
+
*/
|
|
81
|
+
declare const BROWSER_CACHE = "browser.cache";
|
|
82
|
+
/**
|
|
83
|
+
* The DNS domain lookup phase of a browser navigation.
|
|
84
|
+
*/
|
|
85
|
+
declare const BROWSER_DNS = "browser.dns";
|
|
86
|
+
/**
|
|
87
|
+
* The request phase of a browser navigation.
|
|
88
|
+
*/
|
|
89
|
+
declare const BROWSER_REQUEST = "browser.request";
|
|
90
|
+
/**
|
|
91
|
+
* The response phase of a browser navigation.
|
|
92
|
+
*/
|
|
93
|
+
declare const BROWSER_RESPONSE = "browser.response";
|
|
26
94
|
/**
|
|
27
95
|
* Operations related to browser UI
|
|
28
96
|
*/
|
|
29
|
-
declare const
|
|
97
|
+
declare const UI = "ui";
|
|
30
98
|
/**
|
|
31
99
|
* A task that is taken on the main UI thread. Typically used to indicate to users about things like the [Long Tasks API](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceLongTaskTiming).
|
|
32
100
|
*/
|
|
33
|
-
declare const
|
|
34
|
-
declare const
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
declare const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
declare const
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
declare const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
declare const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
declare const
|
|
55
|
-
|
|
56
|
-
|
|
101
|
+
declare const UI_TASK = "ui.task";
|
|
102
|
+
declare const UI_RENDER = "ui.render";
|
|
103
|
+
/**
|
|
104
|
+
* Mounting of a UI component or application (e.g. initial render/bootstrap).
|
|
105
|
+
*/
|
|
106
|
+
declare const UI_MOUNT = "ui.mount";
|
|
107
|
+
/**
|
|
108
|
+
* Updating of an already-mounted UI component.
|
|
109
|
+
*/
|
|
110
|
+
declare const UI_UPDATE = "ui.update";
|
|
111
|
+
/**
|
|
112
|
+
* Unmounting/teardown of a UI component.
|
|
113
|
+
*/
|
|
114
|
+
declare const UI_UNMOUNT = "ui.unmount";
|
|
115
|
+
/**
|
|
116
|
+
* A long task on the main UI thread, as reported by the Long Tasks API.
|
|
117
|
+
*/
|
|
118
|
+
declare const UI_LONG_TASK = "ui.long_task";
|
|
119
|
+
/**
|
|
120
|
+
* A long animation frame, as reported by the Long Animation Frames API.
|
|
121
|
+
*/
|
|
122
|
+
declare const UI_LONG_ANIMATION_FRAME = "ui.long_animation_frame";
|
|
123
|
+
/**
|
|
124
|
+
* A click interaction measured via Interaction to Next Paint (INP).
|
|
125
|
+
*/
|
|
126
|
+
declare const UI_INTERACTION_CLICK = "ui.interaction.click";
|
|
127
|
+
/**
|
|
128
|
+
* A hover interaction measured via Interaction to Next Paint (INP).
|
|
129
|
+
*/
|
|
130
|
+
declare const UI_INTERACTION_HOVER = "ui.interaction.hover";
|
|
131
|
+
/**
|
|
132
|
+
* A drag interaction measured via Interaction to Next Paint (INP).
|
|
133
|
+
*/
|
|
134
|
+
declare const UI_INTERACTION_DRAG = "ui.interaction.drag";
|
|
135
|
+
/**
|
|
136
|
+
* A key press interaction measured via Interaction to Next Paint (INP).
|
|
137
|
+
*/
|
|
138
|
+
declare const UI_INTERACTION_PRESS = "ui.interaction.press";
|
|
139
|
+
/**
|
|
140
|
+
* A Largest Contentful Paint (LCP) web vital measurement.
|
|
141
|
+
*/
|
|
142
|
+
declare const UI_WEBVITAL_LCP = "ui.webvital.lcp";
|
|
143
|
+
/**
|
|
144
|
+
* A Cumulative Layout Shift (CLS) web vital measurement.
|
|
145
|
+
*/
|
|
146
|
+
declare const UI_WEBVITAL_CLS = "ui.webvital.cls";
|
|
147
|
+
declare const UI_ACTION = "ui.action";
|
|
148
|
+
declare const UI_ACTION_CLICK = "ui.action.click";
|
|
149
|
+
declare const UI_REACT = "ui.react";
|
|
150
|
+
declare const UI_REACT_MOUNT = "ui.react.mount";
|
|
151
|
+
declare const UI_REACT_RENDER = "ui.react.render";
|
|
152
|
+
declare const UI_REACT_UPDATE = "ui.react.update";
|
|
153
|
+
declare const UI_VUE = "ui.vue";
|
|
154
|
+
declare const UI_SVELTE = "ui.svelte";
|
|
155
|
+
declare const UI_ANGULAR = "ui.angular";
|
|
156
|
+
declare const UI_EMBER = "ui.ember";
|
|
157
|
+
declare const UI_LIVEWIRE = "ui.livewire";
|
|
158
|
+
declare const DB = "db";
|
|
159
|
+
declare const DB_QUERY = "db.query";
|
|
160
|
+
declare const CACHE = "cache";
|
|
161
|
+
declare const CACHE_GET = "cache.get";
|
|
162
|
+
declare const CACHE_PUT = "cache.put";
|
|
163
|
+
declare const CACHE_REMOVE = "cache.remove";
|
|
164
|
+
declare const GRPC = "grpc";
|
|
165
|
+
declare const FUNCTION_GCP = "function.gcp";
|
|
166
|
+
declare const FUNCTION_AWS = "function.aws";
|
|
167
|
+
declare const FUNCTION_AZURE = "function.azure";
|
|
57
168
|
/**
|
|
58
169
|
* A chat interaction with a generative AI model
|
|
59
170
|
*/
|
|
60
|
-
declare const
|
|
171
|
+
declare const GEN_AI_CHAT = "gen_ai.chat";
|
|
61
172
|
/**
|
|
62
173
|
* Execution of a tool or function by a generative AI model
|
|
63
174
|
*/
|
|
64
|
-
declare const
|
|
175
|
+
declare const GEN_AI_EXECUTE_TOOL = "gen_ai.execute_tool";
|
|
65
176
|
/**
|
|
66
177
|
* Handoff of control between different AI agents or components
|
|
67
178
|
*/
|
|
68
|
-
declare const
|
|
179
|
+
declare const GEN_AI_HANDOFF = "gen_ai.handoff";
|
|
69
180
|
/**
|
|
70
181
|
* Invocation of an AI agent to perform a task
|
|
71
182
|
*/
|
|
72
|
-
declare const
|
|
183
|
+
declare const GEN_AI_INVOKE_AGENT = "gen_ai.invoke_agent";
|
|
184
|
+
/**
|
|
185
|
+
* Generation of embeddings by a generative AI model
|
|
186
|
+
*/
|
|
187
|
+
declare const GEN_AI_EMBEDDINGS = "gen_ai.embeddings";
|
|
188
|
+
/**
|
|
189
|
+
* Content generation by a generative AI model
|
|
190
|
+
*/
|
|
191
|
+
declare const GEN_AI_GENERATE_CONTENT = "gen_ai.generate_content";
|
|
192
|
+
/**
|
|
193
|
+
* Reranking of documents or results by a generative AI model
|
|
194
|
+
*/
|
|
195
|
+
declare const GEN_AI_RERANK = "gen_ai.rerank";
|
|
73
196
|
/**
|
|
74
197
|
* A general point-in-time span indicating an event
|
|
75
198
|
*/
|
|
76
|
-
declare const
|
|
199
|
+
declare const MARK = "mark";
|
|
77
200
|
/**
|
|
78
201
|
* The time it took for a set of instructions to execute
|
|
79
202
|
*/
|
|
80
|
-
declare const
|
|
203
|
+
declare const FUNCTION = "function";
|
|
204
|
+
/**
|
|
205
|
+
* A user-defined measurement of the duration between two points in time
|
|
206
|
+
*/
|
|
207
|
+
declare const MEASURE = "measure";
|
|
208
|
+
/**
|
|
209
|
+
* A request handled by an MCP server (e.g. a tool call, resource read, or prompt request).
|
|
210
|
+
*/
|
|
211
|
+
declare const MCP_SERVER = "mcp.server";
|
|
212
|
+
/**
|
|
213
|
+
* A notification sent from an MCP client to an MCP server.
|
|
214
|
+
*/
|
|
215
|
+
declare const MCP_NOTIFICATION_CLIENT_TO_SERVER = "mcp.notification.client_to_server";
|
|
216
|
+
/**
|
|
217
|
+
* A notification sent from an MCP server to an MCP client.
|
|
218
|
+
*/
|
|
219
|
+
declare const MCP_NOTIFICATION_SERVER_TO_CLIENT = "mcp.notification.server_to_client";
|
|
81
220
|
/**
|
|
82
221
|
* A general queue operation.
|
|
83
222
|
*/
|
|
84
|
-
declare const
|
|
223
|
+
declare const QUEUE = "queue";
|
|
85
224
|
/**
|
|
86
225
|
* Publishing a message to a queue.
|
|
87
226
|
*/
|
|
88
|
-
declare const
|
|
227
|
+
declare const QUEUE_PUBLISH = "queue.publish";
|
|
89
228
|
/**
|
|
90
229
|
* Creating a queue or a message for later publishing.
|
|
91
230
|
*/
|
|
92
|
-
declare const
|
|
231
|
+
declare const QUEUE_CREATE = "queue.create";
|
|
93
232
|
/**
|
|
94
233
|
* Receiving a message from a queue.
|
|
95
234
|
*/
|
|
96
|
-
declare const
|
|
235
|
+
declare const QUEUE_RECEIVE = "queue.receive";
|
|
97
236
|
/**
|
|
98
237
|
* Processing a message from a queue.
|
|
99
238
|
*/
|
|
100
|
-
declare const
|
|
239
|
+
declare const QUEUE_PROCESS = "queue.process";
|
|
101
240
|
/**
|
|
102
241
|
* Settling a message, e.g. acknowledging or rejecting it.
|
|
103
242
|
*/
|
|
104
|
-
declare const
|
|
243
|
+
declare const QUEUE_SETTLE = "queue.settle";
|
|
105
244
|
/**
|
|
106
245
|
* Publishing a message to an arq queue.
|
|
107
246
|
*/
|
|
108
|
-
declare const
|
|
247
|
+
declare const QUEUE_SUBMIT_ARQ = "queue.submit.arq";
|
|
109
248
|
/**
|
|
110
249
|
* Processing a message from an arq queue.
|
|
111
250
|
*/
|
|
112
|
-
declare const
|
|
251
|
+
declare const QUEUE_TASK_ARQ = "queue.task.arq";
|
|
113
252
|
/**
|
|
114
253
|
* Publishing a message to a Celery broker.
|
|
115
254
|
*/
|
|
116
|
-
declare const
|
|
255
|
+
declare const QUEUE_SUBMIT_CELERY = "queue.submit.celery";
|
|
117
256
|
/**
|
|
118
257
|
* Processing a message from a Celery queue.
|
|
119
258
|
*/
|
|
120
|
-
declare const
|
|
259
|
+
declare const QUEUE_TASK_CELERY = "queue.task.celery";
|
|
121
260
|
/**
|
|
122
261
|
* Processing a message from a Dramatiq queue.
|
|
123
262
|
*/
|
|
124
|
-
declare const
|
|
263
|
+
declare const QUEUE_TASK_DRAMATIQ = "queue.task.dramatiq";
|
|
125
264
|
/**
|
|
126
265
|
* Publishing a message to a Huey instance.
|
|
127
266
|
*/
|
|
128
|
-
declare const
|
|
267
|
+
declare const QUEUE_SUBMIT_HUEY = "queue.submit.huey";
|
|
129
268
|
/**
|
|
130
269
|
* Processing a message from a Huey instance.
|
|
131
270
|
*/
|
|
132
|
-
declare const
|
|
271
|
+
declare const QUEUE_TASK_HUEY = "queue.task.huey";
|
|
133
272
|
/**
|
|
134
273
|
* Processing a message from an RQ queue.
|
|
135
274
|
*/
|
|
136
|
-
declare const
|
|
137
|
-
declare const
|
|
138
|
-
declare const
|
|
139
|
-
declare const
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
275
|
+
declare const QUEUE_TASK_RQ = "queue.task.rq";
|
|
276
|
+
declare const APP = "app";
|
|
277
|
+
declare const FILE = "file";
|
|
278
|
+
declare const SERIALIZE = "serialize";
|
|
279
|
+
/**
|
|
280
|
+
* Retrieving an object from an object store.
|
|
281
|
+
*/
|
|
282
|
+
declare const OBJECT_GET = "object.get";
|
|
283
|
+
/**
|
|
284
|
+
* Retrieving the metadata of an object from an object store.
|
|
285
|
+
*/
|
|
286
|
+
declare const OBJECT_HEAD = "object.head";
|
|
287
|
+
/**
|
|
288
|
+
* Storing an object in an object store.
|
|
289
|
+
*/
|
|
290
|
+
declare const OBJECT_PUT = "object.put";
|
|
291
|
+
/**
|
|
292
|
+
* Deleting an object from an object store.
|
|
293
|
+
*/
|
|
294
|
+
declare const OBJECT_DELETE = "object.delete";
|
|
295
|
+
/**
|
|
296
|
+
* Listing objects in an object store.
|
|
297
|
+
*/
|
|
298
|
+
declare const OBJECT_LIST = "object.list";
|
|
299
|
+
/**
|
|
300
|
+
* Uploading a single part of a multipart upload to an object store.
|
|
301
|
+
*/
|
|
302
|
+
declare const OBJECT_UPLOAD_PART = "object.upload_part";
|
|
303
|
+
/**
|
|
304
|
+
* Aborting a multipart upload to an object store.
|
|
305
|
+
*/
|
|
306
|
+
declare const OBJECT_MULTIPART_UPLOAD_ABORT = "object.multipart_upload.abort";
|
|
307
|
+
/**
|
|
308
|
+
* Creating a multipart upload to an object store.
|
|
309
|
+
*/
|
|
310
|
+
declare const OBJECT_MULTIPART_UPLOAD_CREATE = "object.multipart_upload.create";
|
|
311
|
+
/**
|
|
312
|
+
* Completing a multipart upload to an object store.
|
|
313
|
+
*/
|
|
314
|
+
declare const OBJECT_MULTIPART_UPLOAD_COMPLETE = "object.multipart_upload.complete";
|
|
315
|
+
/**
|
|
316
|
+
* A framework-neutral operation for work performed by an application router.
|
|
317
|
+
*/
|
|
318
|
+
declare const ROUTER = "router";
|
|
143
319
|
/**
|
|
144
320
|
* A general point-in-time span indicating an event
|
|
145
321
|
*/
|
|
146
|
-
declare const
|
|
147
|
-
declare const
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
declare const
|
|
152
|
-
declare const
|
|
153
|
-
declare const
|
|
154
|
-
declare const
|
|
155
|
-
declare const
|
|
156
|
-
declare const
|
|
157
|
-
declare const
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
declare const
|
|
162
|
-
declare const
|
|
163
|
-
declare const
|
|
322
|
+
declare const HTTP = "http";
|
|
323
|
+
declare const HTTP_CLIENT = "http.client";
|
|
324
|
+
/**
|
|
325
|
+
* Consumption of a streaming HTTP client response body
|
|
326
|
+
*/
|
|
327
|
+
declare const HTTP_CLIENT_STREAM = "http.client.stream";
|
|
328
|
+
declare const HTTP_SERVER = "http.server";
|
|
329
|
+
declare const WEBSOCKET = "websocket";
|
|
330
|
+
declare const RPC = "rpc";
|
|
331
|
+
declare const GRAPHQL = "graphql";
|
|
332
|
+
declare const SUBPROCESS = "subprocess";
|
|
333
|
+
declare const MIDDLEWARE = "middleware";
|
|
334
|
+
/**
|
|
335
|
+
* Handling of an incoming request by a web server route handler
|
|
336
|
+
*/
|
|
337
|
+
declare const HANDLER = "handler";
|
|
338
|
+
declare const VIEW = "view";
|
|
339
|
+
declare const TEMPLATE = "template";
|
|
340
|
+
declare const FUNCTION_REMIX = "function.remix";
|
|
341
|
+
declare const FUNCTION_NEXTJS = "function.nextjs";
|
|
342
|
+
declare const CONSOLE = "console";
|
|
164
343
|
|
|
165
|
-
export {
|
|
344
|
+
export { APP, BROWSER, BROWSER_CACHE, BROWSER_CONNECT, BROWSER_DNS, BROWSER_DOM_CONTENT_LOADED_EVENT, BROWSER_LOAD_EVENT, BROWSER_PAINT, BROWSER_REDIRECT, BROWSER_REQUEST, BROWSER_RESPONSE, BROWSER_TLS_SSL, BROWSER_UNLOAD_EVENT, CACHE, CACHE_GET, CACHE_PUT, CACHE_REMOVE, CONSOLE, DB, DB_QUERY, FILE, FUNCTION, FUNCTION_AWS, FUNCTION_AZURE, FUNCTION_GCP, FUNCTION_NEXTJS, FUNCTION_REMIX, GEN_AI_CHAT, GEN_AI_EMBEDDINGS, GEN_AI_EXECUTE_TOOL, GEN_AI_GENERATE_CONTENT, GEN_AI_HANDOFF, GEN_AI_INVOKE_AGENT, GEN_AI_RERANK, GRAPHQL, GRPC, HANDLER, HTTP, HTTP_CLIENT, HTTP_CLIENT_STREAM, HTTP_SERVER, MARK, MCP_NOTIFICATION_CLIENT_TO_SERVER, MCP_NOTIFICATION_SERVER_TO_CLIENT, MCP_SERVER, MEASURE, MIDDLEWARE, NAVIGATION, NAVIGATION_REDIRECT, OBJECT_DELETE, OBJECT_GET, OBJECT_HEAD, OBJECT_LIST, OBJECT_MULTIPART_UPLOAD_ABORT, OBJECT_MULTIPART_UPLOAD_COMPLETE, OBJECT_MULTIPART_UPLOAD_CREATE, OBJECT_PUT, OBJECT_UPLOAD_PART, PAGELOAD, QUEUE, QUEUE_CREATE, QUEUE_PROCESS, QUEUE_PUBLISH, QUEUE_RECEIVE, QUEUE_SETTLE, QUEUE_SUBMIT_ARQ, QUEUE_SUBMIT_CELERY, QUEUE_SUBMIT_HUEY, QUEUE_TASK_ARQ, QUEUE_TASK_CELERY, QUEUE_TASK_DRAMATIQ, QUEUE_TASK_HUEY, QUEUE_TASK_RQ, RESOURCE, RESOURCE_AUDIO, RESOURCE_CSS, RESOURCE_FRAME, RESOURCE_ICON, RESOURCE_IFRAME, RESOURCE_IMG, RESOURCE_LINK, RESOURCE_OBJECT, RESOURCE_OTHER, RESOURCE_PING, RESOURCE_SCRIPT, RESOURCE_TRACK, RESOURCE_VIDEO, RESOURCE_WORKER, ROUTER, RPC, SERIALIZE, SUBPROCESS, TEMPLATE, UI, UI_ACTION, UI_ACTION_CLICK, UI_ANGULAR, UI_EMBER, UI_INTERACTION_CLICK, UI_INTERACTION_DRAG, UI_INTERACTION_HOVER, UI_INTERACTION_PRESS, UI_LIVEWIRE, UI_LONG_ANIMATION_FRAME, UI_LONG_TASK, UI_MOUNT, UI_REACT, UI_REACT_MOUNT, UI_REACT_RENDER, UI_REACT_UPDATE, UI_RENDER, UI_SVELTE, UI_TASK, UI_UNMOUNT, UI_UPDATE, UI_VUE, UI_WEBVITAL_CLS, UI_WEBVITAL_LCP, VIEW, WEBSOCKET };
|
package/dist/op.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e="pageload",E="navigation",_="navigation.redirect",r="resource",R="resource.script",t="resource.link",T="resource.img",u="resource.css",U="resource.audio",i="resource.video",I="resource.iframe",o="resource.other",O="resource.worker",c="resource.icon",C="resource.frame",a="resource.object",A="resource.ping",n="resource.track",N="browser",s="browser.paint",S="browser.unload_event",l="browser.redirect",L="browser.dom_content_loaded_event",p="browser.load_event",P="browser.connect",b="browser.tls_ssl",B="browser.cache",d="browser.dns",D="browser.request",m="browser.response",M="ui",g="ui.task",G="ui.render",q="ui.mount",Q="ui.update",v="ui.unmount",w="ui.long_task",V="ui.long_animation_frame",W="ui.interaction.click",h="ui.interaction.hover",H="ui.interaction.drag",k="ui.interaction.press",K="ui.webvital.lcp",f="ui.webvital.cls",F="ui.action",j="ui.action.click",J="ui.react",y="ui.react.mount",Y="ui.react.render",x="ui.react.update",X="ui.vue",z="ui.svelte",Z="ui.angular",$="ui.ember",ee="ui.livewire",Ee="db",_e="db.query",re="cache",Re="cache.get",te="cache.put",Te="cache.remove",ue="grpc",Ue="function.gcp",ie="function.aws",Ie="function.azure",oe="gen_ai.chat",Oe="gen_ai.execute_tool",ce="gen_ai.handoff",Ce="gen_ai.invoke_agent",ae="gen_ai.embeddings",Ae="gen_ai.generate_content",ne="gen_ai.rerank",Ne="mark",se="function",Se="measure",le="mcp.server",Le="mcp.notification.client_to_server",pe="mcp.notification.server_to_client",Pe="queue",be="queue.publish",Be="queue.create",de="queue.receive",De="queue.process",me="queue.settle",Me="queue.submit.arq",ge="queue.task.arq",Ge="queue.submit.celery",qe="queue.task.celery",Qe="queue.task.dramatiq",ve="queue.submit.huey",we="queue.task.huey",Ve="queue.task.rq",We="app",he="file",He="serialize",ke="object.get",Ke="object.head",fe="object.put",Fe="object.delete",je="object.list",Je="object.upload_part",ye="object.multipart_upload.abort",Ye="object.multipart_upload.create",xe="object.multipart_upload.complete",Xe="router",ze="http",Ze="http.client",$e="http.client.stream",eE="http.server",EE="websocket",_E="rpc",rE="graphql",RE="subprocess",tE="middleware",TE="handler",uE="view",UE="template",iE="function.remix",IE="function.nextjs",oE="console";export{We as APP,N as BROWSER,B as BROWSER_CACHE,P as BROWSER_CONNECT,d as BROWSER_DNS,L as BROWSER_DOM_CONTENT_LOADED_EVENT,p as BROWSER_LOAD_EVENT,s as BROWSER_PAINT,l as BROWSER_REDIRECT,D as BROWSER_REQUEST,m as BROWSER_RESPONSE,b as BROWSER_TLS_SSL,S as BROWSER_UNLOAD_EVENT,re as CACHE,Re as CACHE_GET,te as CACHE_PUT,Te as CACHE_REMOVE,oE as CONSOLE,Ee as DB,_e as DB_QUERY,he as FILE,se as FUNCTION,ie as FUNCTION_AWS,Ie as FUNCTION_AZURE,Ue as FUNCTION_GCP,IE as FUNCTION_NEXTJS,iE as FUNCTION_REMIX,oe as GEN_AI_CHAT,ae as GEN_AI_EMBEDDINGS,Oe as GEN_AI_EXECUTE_TOOL,Ae as GEN_AI_GENERATE_CONTENT,ce as GEN_AI_HANDOFF,Ce as GEN_AI_INVOKE_AGENT,ne as GEN_AI_RERANK,rE as GRAPHQL,ue as GRPC,TE as HANDLER,ze as HTTP,Ze as HTTP_CLIENT,$e as HTTP_CLIENT_STREAM,eE as HTTP_SERVER,Ne as MARK,Le as MCP_NOTIFICATION_CLIENT_TO_SERVER,pe as MCP_NOTIFICATION_SERVER_TO_CLIENT,le as MCP_SERVER,Se as MEASURE,tE as MIDDLEWARE,E as NAVIGATION,_ as NAVIGATION_REDIRECT,Fe as OBJECT_DELETE,ke as OBJECT_GET,Ke as OBJECT_HEAD,je as OBJECT_LIST,ye as OBJECT_MULTIPART_UPLOAD_ABORT,xe as OBJECT_MULTIPART_UPLOAD_COMPLETE,Ye as OBJECT_MULTIPART_UPLOAD_CREATE,fe as OBJECT_PUT,Je as OBJECT_UPLOAD_PART,e as PAGELOAD,Pe as QUEUE,Be as QUEUE_CREATE,De as QUEUE_PROCESS,be as QUEUE_PUBLISH,de as QUEUE_RECEIVE,me as QUEUE_SETTLE,Me as QUEUE_SUBMIT_ARQ,Ge as QUEUE_SUBMIT_CELERY,ve as QUEUE_SUBMIT_HUEY,ge as QUEUE_TASK_ARQ,qe as QUEUE_TASK_CELERY,Qe as QUEUE_TASK_DRAMATIQ,we as QUEUE_TASK_HUEY,Ve as QUEUE_TASK_RQ,r as RESOURCE,U as RESOURCE_AUDIO,u as RESOURCE_CSS,C as RESOURCE_FRAME,c as RESOURCE_ICON,I as RESOURCE_IFRAME,T as RESOURCE_IMG,t as RESOURCE_LINK,a as RESOURCE_OBJECT,o as RESOURCE_OTHER,A as RESOURCE_PING,R as RESOURCE_SCRIPT,n as RESOURCE_TRACK,i as RESOURCE_VIDEO,O as RESOURCE_WORKER,Xe as ROUTER,_E as RPC,He as SERIALIZE,RE as SUBPROCESS,UE as TEMPLATE,M as UI,F as UI_ACTION,j as UI_ACTION_CLICK,Z as UI_ANGULAR,$ as UI_EMBER,W as UI_INTERACTION_CLICK,H as UI_INTERACTION_DRAG,h as UI_INTERACTION_HOVER,k as UI_INTERACTION_PRESS,ee as UI_LIVEWIRE,V as UI_LONG_ANIMATION_FRAME,w as UI_LONG_TASK,q as UI_MOUNT,J as UI_REACT,y as UI_REACT_MOUNT,Y as UI_REACT_RENDER,x as UI_REACT_UPDATE,G as UI_RENDER,z as UI_SVELTE,g as UI_TASK,v as UI_UNMOUNT,Q as UI_UPDATE,X as UI_VUE,f as UI_WEBVITAL_CLS,K as UI_WEBVITAL_LCP,uE as VIEW,EE as WEBSOCKET};
|
|
2
2
|
//# sourceMappingURL=op.mjs.map
|
package/dist/op.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"op.mjs","sources":["../src/op.ts"],"sourcesContent":["// This is an auto-generated file. Do not edit!\n\n// Path: model/op/browser.json\n// Name: browser\n\n/**\n * A full page load of a web application.\n */\nexport const BROWSER_PAGELOAD_SPAN_OP = 'pageload';\n\n/**\n * Client-side browser history change in a web application.\n */\nexport const BROWSER_NAVIGATION_SPAN_OP = 'navigation';\n\n/**\n * Resource as per [Performance Resource Timing](https://w3c.github.io/resource-timing/#sec-performanceresourcetiming). Defaults to resource.other if resource cannot be indentified.\n */\nexport const BROWSER_RESOURCE_SPAN_OP = 'resource';\n\nexport const BROWSER_RESOURCE_SCRIPT_SPAN_OP = 'resource.script';\n\nexport const BROWSER_RESOURCE_LINK_SPAN_OP = 'resource.link';\n\nexport const BROWSER_RESOURCE_IMG_SPAN_OP = 'resource.img';\n\nexport const BROWSER_RESOURCE_CSS_SPAN_OP = 'resource.css';\n\nexport const BROWSER_RESOURCE_AUDIO_SPAN_OP = 'resource.audio';\n\nexport const BROWSER_RESOURCE_VIDEO_SPAN_OP = 'resource.video';\n\nexport const BROWSER_RESOURCE_IFRAME_SPAN_OP = 'resource.iframe';\n\nexport const BROWSER_RESOURCE_OTHER_SPAN_OP = 'resource.other';\n\n/**\n * Usage of browser APIs or functionality\n */\nexport const BROWSER_BROWSER_SPAN_OP = 'browser';\n\nexport const BROWSER_BROWSER_PAINT_SPAN_OP = 'browser.paint';\n\n/**\n * Operations related to browser UI\n */\nexport const BROWSER_UI_SPAN_OP = 'ui';\n\n/**\n * A task that is taken on the main UI thread. Typically used to indicate to users about things like the [Long Tasks API](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceLongTaskTiming).\n */\nexport const BROWSER_UI_TASK_SPAN_OP = 'ui.task';\n\nexport const BROWSER_UI_RENDER_SPAN_OP = 'ui.render';\n\nexport const BROWSER_UI_ACTION_SPAN_OP = 'ui.action';\n\nexport const BROWSER_UI_ACTION_CLICK_SPAN_OP = 'ui.action.click';\n\nexport const BROWSER_UI_REACT_SPAN_OP = 'ui.react';\n\nexport const BROWSER_UI_REACT_MOUNT_SPAN_OP = 'ui.react.mount';\n\nexport const BROWSER_UI_REACT_RENDER_SPAN_OP = 'ui.react.render';\n\nexport const BROWSER_UI_REACT_UPDATE_SPAN_OP = 'ui.react.update';\n\nexport const BROWSER_UI_VUE_SPAN_OP = 'ui.vue';\n\nexport const BROWSER_UI_SVELTE_SPAN_OP = 'ui.svelte';\n\nexport const BROWSER_UI_ANGULAR_SPAN_OP = 'ui.angular';\n\nexport const BROWSER_UI_EMBER_SPAN_OP = 'ui.ember';\n\nexport const BROWSER_UI_LIVEWIRE_SPAN_OP = 'ui.livewire';\n\n// Path: model/op/database.json\n// Name: database\n\n// Description: Database related spans are expected to follow OpenTelemetry's Database semantic conventions when possible.\n\nexport const DATABASE_DB_SPAN_OP = 'db';\n\nexport const DATABASE_DB_QUERY_SPAN_OP = 'db.query';\n\nexport const DATABASE_CACHE_SPAN_OP = 'cache';\n\nexport const DATABASE_CACHE_GET_SPAN_OP = 'cache.get';\n\nexport const DATABASE_CACHE_PUT_SPAN_OP = 'cache.put';\n\nexport const DATABASE_CACHE_REMOVE_SPAN_OP = 'cache.remove';\n\n// Path: model/op/faas.json\n// Name: faas\n\n// Description: Serverless (FAAS)\n\nexport const FAAS_HTTP_SPAN_OP = 'http';\n\nexport const FAAS_GRPC_SPAN_OP = 'grpc';\n\nexport const FAAS_FUNCTION_GCP_SPAN_OP = 'function.gcp';\n\nexport const FAAS_FUNCTION_AWS_SPAN_OP = 'function.aws';\n\nexport const FAAS_FUNCTION_AZURE_SPAN_OP = 'function.azure';\n\n// Path: model/op/gen_ai.json\n// Name: gen_ai\n\n// Description: Operations related to Generative AI interactions\n\n/**\n * A chat interaction with a generative AI model\n */\nexport const GEN_AI_CHAT_SPAN_OP = 'chat';\n\n/**\n * Execution of a tool or function by a generative AI model\n */\nexport const GEN_AI_EXECUTE_TOOL_SPAN_OP = 'execute_tool';\n\n/**\n * Handoff of control between different AI agents or components\n */\nexport const GEN_AI_HANDOFF_SPAN_OP = 'handoff';\n\n/**\n * Invocation of an AI agent to perform a task\n */\nexport const GEN_AI_INVOKE_AGENT_SPAN_OP = 'invoke_agent';\n\n// Path: model/op/general.json\n// Name: general\n\n/**\n * A general point-in-time span indicating an event\n */\nexport const GENERAL_MARK_SPAN_OP = 'mark';\n\n/**\n * The time it took for a set of instructions to execute\n */\nexport const GENERAL_FUNCTION_SPAN_OP = 'function';\n\n// Path: model/op/messaging.json\n// Name: messaging\n\n// Description: Messaging related spans represent operations on topics in streaming data systems and queues, such as producing and consuming messages in Kafka, RabbitMQ.\n\n/**\n * A general queue operation.\n */\nexport const MESSAGING_QUEUE_SPAN_OP = 'queue';\n\n/**\n * Publishing a message to a queue.\n */\nexport const MESSAGING_QUEUE_PUBLISH_SPAN_OP = 'queue.publish';\n\n/**\n * Creating a queue or a message for later publishing.\n */\nexport const MESSAGING_QUEUE_CREATE_SPAN_OP = 'queue.create';\n\n/**\n * Receiving a message from a queue.\n */\nexport const MESSAGING_QUEUE_RECEIVE_SPAN_OP = 'queue.receive';\n\n/**\n * Processing a message from a queue.\n */\nexport const MESSAGING_QUEUE_PROCESS_SPAN_OP = 'queue.process';\n\n/**\n * Settling a message, e.g. acknowledging or rejecting it.\n */\nexport const MESSAGING_QUEUE_SETTLE_SPAN_OP = 'queue.settle';\n\n/**\n * Publishing a message to an arq queue.\n */\nexport const MESSAGING_QUEUE_SUBMIT_ARQ_SPAN_OP = 'queue.submit.arq';\n\n/**\n * Processing a message from an arq queue.\n */\nexport const MESSAGING_QUEUE_TASK_ARQ_SPAN_OP = 'queue.task.arq';\n\n/**\n * Publishing a message to a Celery broker.\n */\nexport const MESSAGING_QUEUE_SUBMIT_CELERY_SPAN_OP = 'queue.submit.celery';\n\n/**\n * Processing a message from a Celery queue.\n */\nexport const MESSAGING_QUEUE_TASK_CELERY_SPAN_OP = 'queue.task.celery';\n\n/**\n * Processing a message from a Dramatiq queue.\n */\nexport const MESSAGING_QUEUE_TASK_DRAMATIQ_SPAN_OP = 'queue.task.dramatiq';\n\n/**\n * Publishing a message to a Huey instance.\n */\nexport const MESSAGING_QUEUE_SUBMIT_HUEY_SPAN_OP = 'queue.submit.huey';\n\n/**\n * Processing a message from a Huey instance.\n */\nexport const MESSAGING_QUEUE_TASK_HUEY_SPAN_OP = 'queue.task.huey';\n\n/**\n * Processing a message from an RQ queue.\n */\nexport const MESSAGING_QUEUE_TASK_RQ_SPAN_OP = 'queue.task.rq';\n\n// Path: model/op/mobile.json\n// Name: mobile\n\nexport const MOBILE_APP_SPAN_OP = 'app';\n\nexport const MOBILE_UI_SPAN_OP = 'ui';\n\nexport const MOBILE_NAVIGATION_SPAN_OP = 'navigation';\n\nexport const MOBILE_FILE_SPAN_OP = 'file';\n\nexport const MOBILE_SERIALIZE_SPAN_OP = 'serialize';\n\nexport const MOBILE_HTTP_SPAN_OP = 'http';\n\n// Path: model/op/web_server.json\n// Name: web_server\n\n/**\n * A general point-in-time span indicating an event\n */\nexport const WEB_SERVER_HTTP_SPAN_OP = 'http';\n\nexport const WEB_SERVER_HTTP_CLIENT_SPAN_OP = 'http.client';\n\nexport const WEB_SERVER_HTTP_SERVER_SPAN_OP = 'http.server';\n\nexport const WEB_SERVER_WEBSOCKET_SPAN_OP = 'websocket';\n\nexport const WEB_SERVER_RPC_SPAN_OP = 'rpc';\n\nexport const WEB_SERVER_GRPC_SPAN_OP = 'grpc';\n\nexport const WEB_SERVER_GRAPHQL_SPAN_OP = 'graphql';\n\nexport const WEB_SERVER_SUBPROCESS_SPAN_OP = 'subprocess';\n\nexport const WEB_SERVER_MIDDLEWARE_SPAN_OP = 'middleware';\n\nexport const WEB_SERVER_VIEW_SPAN_OP = 'view';\n\nexport const WEB_SERVER_TEMPLATE_SPAN_OP = 'template';\n\nexport const WEB_SERVER_FUNCTION_SPAN_OP = 'function';\n\nexport const WEB_SERVER_FUNCTION_REMIX_SPAN_OP = 'function.remix';\n\nexport const WEB_SERVER_FUNCTION_NEXTJS_SPAN_OP = 'function.nextjs';\n\nexport const WEB_SERVER_SERIALIZE_SPAN_OP = 'serialize';\n\nexport const WEB_SERVER_CONSOLE_SPAN_OP = 'console';\n\nexport const WEB_SERVER_FILE_SPAN_OP = 'file';\n\nexport const WEB_SERVER_APP_SPAN_OP = 'app';\n"],"names":["BROWSER_PAGELOAD_SPAN_OP","BROWSER_NAVIGATION_SPAN_OP","BROWSER_RESOURCE_SPAN_OP","BROWSER_RESOURCE_SCRIPT_SPAN_OP","BROWSER_RESOURCE_LINK_SPAN_OP","BROWSER_RESOURCE_IMG_SPAN_OP","BROWSER_RESOURCE_CSS_SPAN_OP","BROWSER_RESOURCE_AUDIO_SPAN_OP","BROWSER_RESOURCE_VIDEO_SPAN_OP","BROWSER_RESOURCE_IFRAME_SPAN_OP","BROWSER_RESOURCE_OTHER_SPAN_OP","BROWSER_BROWSER_SPAN_OP","BROWSER_BROWSER_PAINT_SPAN_OP","BROWSER_UI_SPAN_OP","BROWSER_UI_TASK_SPAN_OP","BROWSER_UI_RENDER_SPAN_OP","BROWSER_UI_ACTION_SPAN_OP","BROWSER_UI_ACTION_CLICK_SPAN_OP","BROWSER_UI_REACT_SPAN_OP","BROWSER_UI_REACT_MOUNT_SPAN_OP","BROWSER_UI_REACT_RENDER_SPAN_OP","BROWSER_UI_REACT_UPDATE_SPAN_OP","BROWSER_UI_VUE_SPAN_OP","BROWSER_UI_SVELTE_SPAN_OP","BROWSER_UI_ANGULAR_SPAN_OP","BROWSER_UI_EMBER_SPAN_OP","BROWSER_UI_LIVEWIRE_SPAN_OP","DATABASE_DB_SPAN_OP","DATABASE_DB_QUERY_SPAN_OP","DATABASE_CACHE_SPAN_OP","DATABASE_CACHE_GET_SPAN_OP","DATABASE_CACHE_PUT_SPAN_OP","DATABASE_CACHE_REMOVE_SPAN_OP","FAAS_HTTP_SPAN_OP","FAAS_GRPC_SPAN_OP","FAAS_FUNCTION_GCP_SPAN_OP","FAAS_FUNCTION_AWS_SPAN_OP","FAAS_FUNCTION_AZURE_SPAN_OP","GEN_AI_CHAT_SPAN_OP","GEN_AI_EXECUTE_TOOL_SPAN_OP","GEN_AI_HANDOFF_SPAN_OP","GEN_AI_INVOKE_AGENT_SPAN_OP","GENERAL_MARK_SPAN_OP","GENERAL_FUNCTION_SPAN_OP","MESSAGING_QUEUE_SPAN_OP","MESSAGING_QUEUE_PUBLISH_SPAN_OP","MESSAGING_QUEUE_CREATE_SPAN_OP","MESSAGING_QUEUE_RECEIVE_SPAN_OP","MESSAGING_QUEUE_PROCESS_SPAN_OP","MESSAGING_QUEUE_SETTLE_SPAN_OP","MESSAGING_QUEUE_SUBMIT_ARQ_SPAN_OP","MESSAGING_QUEUE_TASK_ARQ_SPAN_OP","MESSAGING_QUEUE_SUBMIT_CELERY_SPAN_OP","MESSAGING_QUEUE_TASK_CELERY_SPAN_OP","MESSAGING_QUEUE_TASK_DRAMATIQ_SPAN_OP","MESSAGING_QUEUE_SUBMIT_HUEY_SPAN_OP","MESSAGING_QUEUE_TASK_HUEY_SPAN_OP","MESSAGING_QUEUE_TASK_RQ_SPAN_OP","MOBILE_APP_SPAN_OP","MOBILE_UI_SPAN_OP","MOBILE_NAVIGATION_SPAN_OP","MOBILE_FILE_SPAN_OP","MOBILE_SERIALIZE_SPAN_OP","MOBILE_HTTP_SPAN_OP","WEB_SERVER_HTTP_SPAN_OP","WEB_SERVER_HTTP_CLIENT_SPAN_OP","WEB_SERVER_HTTP_SERVER_SPAN_OP","WEB_SERVER_WEBSOCKET_SPAN_OP","WEB_SERVER_RPC_SPAN_OP","WEB_SERVER_GRPC_SPAN_OP","WEB_SERVER_GRAPHQL_SPAN_OP","WEB_SERVER_SUBPROCESS_SPAN_OP","WEB_SERVER_MIDDLEWARE_SPAN_OP","WEB_SERVER_VIEW_SPAN_OP","WEB_SERVER_TEMPLATE_SPAN_OP","WEB_SERVER_FUNCTION_SPAN_OP","WEB_SERVER_FUNCTION_REMIX_SPAN_OP","WEB_SERVER_FUNCTION_NEXTJS_SPAN_OP","WEB_SERVER_SERIALIZE_SPAN_OP","WEB_SERVER_CONSOLE_SPAN_OP","WEB_SERVER_FILE_SPAN_OP","WEB_SERVER_APP_SPAN_OP"],"mappings":"AAQO,MAAMA,EAA2B,WAK3BC,EAA6B,aAK7BC,EAA2B,WAE3BC,EAAkC,kBAElCC,EAAgC,gBAEhCC,EAA+B,eAE/BC,EAA+B,eAE/BC,EAAiC,iBAEjCC,EAAiC,iBAEjCC,EAAkC,kBAElCC,EAAiC,iBAKjCC,EAA0B,UAE1BC,EAAgC,gBAKhCC,EAAqB,KAKrBC,EAA0B,UAE1BC,EAA4B,YAE5BC,EAA4B,YAE5BC,EAAkC,kBAElCC,EAA2B,WAE3BC,EAAiC,iBAEjCC,EAAkC,kBAElCC,EAAkC,kBAElCC,EAAyB,SAEzBC,EAA4B,YAE5BC,EAA6B,aAE7BC,EAA2B,WAE3BC,EAA8B,cAO9BC,EAAsB,KAEtBC,EAA4B,WAE5BC,EAAyB,QAEzBC,EAA6B,YAE7BC,EAA6B,YAE7BC,EAAgC,eAOhCC,EAAoB,OAEpBC,EAAoB,OAEpBC,EAA4B,eAE5BC,EAA4B,eAE5BC,EAA8B,iBAU9BC,EAAsB,OAKtBC,EAA8B,eAK9BC,EAAyB,UAKzBC,EAA8B,eAQ9BC,EAAuB,OAKvBC,EAA2B,WAU3BC,EAA0B,QAK1BC,EAAkC,gBAKlCC,EAAiC,eAKjCC,EAAkC,gBAKlCC,EAAkC,gBAKlCC,EAAiC,eAKjCC,EAAqC,mBAKrCC,EAAmC,iBAKnCC,EAAwC,sBAKxCC,EAAsC,oBAKtCC,GAAwC,sBAKxCC,GAAsC,oBAKtCC,GAAoC,kBAKpCC,GAAkC,gBAKlCC,GAAqB,MAErBC,GAAoB,KAEpBC,GAA4B,aAE5BC,GAAsB,OAEtBC,GAA2B,YAE3BC,GAAsB,OAQtBC,GAA0B,OAE1BC,GAAiC,cAEjCC,GAAiC,cAEjCC,GAA+B,YAE/BC,GAAyB,MAEzBC,GAA0B,OAE1BC,GAA6B,UAE7BC,GAAgC,aAEhCC,GAAgC,aAEhCC,GAA0B,OAE1BC,GAA8B,WAE9BC,GAA8B,WAE9BC,GAAoC,iBAEpCC,GAAqC,kBAErCC,GAA+B,YAE/BC,GAA6B,UAE7BC,GAA0B,OAE1BC,GAAyB"}
|
|
1
|
+
{"version":3,"file":"op.mjs","sources":["../src/op.ts"],"sourcesContent":["// This is an auto-generated file. Do not edit!\n\n// Path: model/op/browser.json\n// Name: browser\n\n/**\n * A full page load of a web application.\n */\nexport const PAGELOAD = 'pageload';\n\n/**\n * Client-side browser history change in a web application.\n */\nexport const NAVIGATION = 'navigation';\n\n/**\n * A client-side automatic redirect navigation (e.g. from framework router redirects) triggerign a browser history change.\n */\nexport const NAVIGATION_REDIRECT = 'navigation.redirect';\n\n/**\n * Resource as per [Performance Resource Timing](https://w3c.github.io/resource-timing/#sec-performanceresourcetiming). Defaults to resource.other if resource cannot be indentified.\n */\nexport const RESOURCE = 'resource';\n\nexport const RESOURCE_SCRIPT = 'resource.script';\n\nexport const RESOURCE_LINK = 'resource.link';\n\nexport const RESOURCE_IMG = 'resource.img';\n\nexport const RESOURCE_CSS = 'resource.css';\n\nexport const RESOURCE_AUDIO = 'resource.audio';\n\nexport const RESOURCE_VIDEO = 'resource.video';\n\nexport const RESOURCE_IFRAME = 'resource.iframe';\n\nexport const RESOURCE_OTHER = 'resource.other';\n\n/**\n * Loading of a resource initiated by a worker (e.g. Web Worker or Service Worker).\n */\nexport const RESOURCE_WORKER = 'resource.worker';\n\n/**\n * Loading of an icon resource.\n */\nexport const RESOURCE_ICON = 'resource.icon';\n\n/**\n * Loading of a resource initiated by a frame.\n */\nexport const RESOURCE_FRAME = 'resource.frame';\n\n/**\n * Loading of a resource initiated by an `<object>` element.\n */\nexport const RESOURCE_OBJECT = 'resource.object';\n\n/**\n * A hyperlink auditing ping request.\n */\nexport const RESOURCE_PING = 'resource.ping';\n\n/**\n * Loading of a `<track>` element resource (e.g. subtitles or captions).\n */\nexport const RESOURCE_TRACK = 'resource.track';\n\n/**\n * Usage of browser APIs or functionality\n */\nexport const BROWSER = 'browser';\n\nexport const BROWSER_PAINT = 'browser.paint';\n\n/**\n * The unload event phase of a browser navigation.\n */\nexport const BROWSER_UNLOAD_EVENT = 'browser.unload_event';\n\n/**\n * The redirect phase of a browser navigation.\n */\nexport const BROWSER_REDIRECT = 'browser.redirect';\n\n/**\n * The DOMContentLoaded event phase of a browser navigation.\n */\nexport const BROWSER_DOM_CONTENT_LOADED_EVENT = 'browser.dom_content_loaded_event';\n\n/**\n * The load event phase of a browser navigation.\n */\nexport const BROWSER_LOAD_EVENT = 'browser.load_event';\n\n/**\n * The connection phase of a browser navigation.\n */\nexport const BROWSER_CONNECT = 'browser.connect';\n\n/**\n * The secure connection (TLS/SSL) phase of a browser navigation.\n */\nexport const BROWSER_TLS_SSL = 'browser.tls_ssl';\n\n/**\n * The cache lookup / fetch start phase of a browser navigation.\n */\nexport const BROWSER_CACHE = 'browser.cache';\n\n/**\n * The DNS domain lookup phase of a browser navigation.\n */\nexport const BROWSER_DNS = 'browser.dns';\n\n/**\n * The request phase of a browser navigation.\n */\nexport const BROWSER_REQUEST = 'browser.request';\n\n/**\n * The response phase of a browser navigation.\n */\nexport const BROWSER_RESPONSE = 'browser.response';\n\n/**\n * Operations related to browser UI\n */\nexport const UI = 'ui';\n\n/**\n * A task that is taken on the main UI thread. Typically used to indicate to users about things like the [Long Tasks API](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceLongTaskTiming).\n */\nexport const UI_TASK = 'ui.task';\n\nexport const UI_RENDER = 'ui.render';\n\n/**\n * Mounting of a UI component or application (e.g. initial render/bootstrap).\n */\nexport const UI_MOUNT = 'ui.mount';\n\n/**\n * Updating of an already-mounted UI component.\n */\nexport const UI_UPDATE = 'ui.update';\n\n/**\n * Unmounting/teardown of a UI component.\n */\nexport const UI_UNMOUNT = 'ui.unmount';\n\n/**\n * A long task on the main UI thread, as reported by the Long Tasks API.\n */\nexport const UI_LONG_TASK = 'ui.long_task';\n\n/**\n * A long animation frame, as reported by the Long Animation Frames API.\n */\nexport const UI_LONG_ANIMATION_FRAME = 'ui.long_animation_frame';\n\n/**\n * A click interaction measured via Interaction to Next Paint (INP).\n */\nexport const UI_INTERACTION_CLICK = 'ui.interaction.click';\n\n/**\n * A hover interaction measured via Interaction to Next Paint (INP).\n */\nexport const UI_INTERACTION_HOVER = 'ui.interaction.hover';\n\n/**\n * A drag interaction measured via Interaction to Next Paint (INP).\n */\nexport const UI_INTERACTION_DRAG = 'ui.interaction.drag';\n\n/**\n * A key press interaction measured via Interaction to Next Paint (INP).\n */\nexport const UI_INTERACTION_PRESS = 'ui.interaction.press';\n\n/**\n * A Largest Contentful Paint (LCP) web vital measurement.\n */\nexport const UI_WEBVITAL_LCP = 'ui.webvital.lcp';\n\n/**\n * A Cumulative Layout Shift (CLS) web vital measurement.\n */\nexport const UI_WEBVITAL_CLS = 'ui.webvital.cls';\n\nexport const UI_ACTION = 'ui.action';\n\nexport const UI_ACTION_CLICK = 'ui.action.click';\n\nexport const UI_REACT = 'ui.react';\n\nexport const UI_REACT_MOUNT = 'ui.react.mount';\n\nexport const UI_REACT_RENDER = 'ui.react.render';\n\nexport const UI_REACT_UPDATE = 'ui.react.update';\n\nexport const UI_VUE = 'ui.vue';\n\nexport const UI_SVELTE = 'ui.svelte';\n\nexport const UI_ANGULAR = 'ui.angular';\n\nexport const UI_EMBER = 'ui.ember';\n\nexport const UI_LIVEWIRE = 'ui.livewire';\n\n// Path: model/op/database.json\n// Name: database\n\n// Description: Database related spans are expected to follow OpenTelemetry's Database semantic conventions when possible.\n\nexport const DB = 'db';\n\nexport const DB_QUERY = 'db.query';\n\nexport const CACHE = 'cache';\n\nexport const CACHE_GET = 'cache.get';\n\nexport const CACHE_PUT = 'cache.put';\n\nexport const CACHE_REMOVE = 'cache.remove';\n\n// Path: model/op/faas.json\n// Name: faas\n\n// Description: Serverless (FAAS)\n\nexport const GRPC = 'grpc';\n\nexport const FUNCTION_GCP = 'function.gcp';\n\nexport const FUNCTION_AWS = 'function.aws';\n\nexport const FUNCTION_AZURE = 'function.azure';\n\n// Path: model/op/gen_ai.json\n// Name: gen_ai\n\n// Description: Operations related to Generative AI interactions\n\n/**\n * A chat interaction with a generative AI model\n */\nexport const GEN_AI_CHAT = 'gen_ai.chat';\n\n/**\n * Execution of a tool or function by a generative AI model\n */\nexport const GEN_AI_EXECUTE_TOOL = 'gen_ai.execute_tool';\n\n/**\n * Handoff of control between different AI agents or components\n */\nexport const GEN_AI_HANDOFF = 'gen_ai.handoff';\n\n/**\n * Invocation of an AI agent to perform a task\n */\nexport const GEN_AI_INVOKE_AGENT = 'gen_ai.invoke_agent';\n\n/**\n * Generation of embeddings by a generative AI model\n */\nexport const GEN_AI_EMBEDDINGS = 'gen_ai.embeddings';\n\n/**\n * Content generation by a generative AI model\n */\nexport const GEN_AI_GENERATE_CONTENT = 'gen_ai.generate_content';\n\n/**\n * Reranking of documents or results by a generative AI model\n */\nexport const GEN_AI_RERANK = 'gen_ai.rerank';\n\n// Path: model/op/general.json\n// Name: general\n\n/**\n * A general point-in-time span indicating an event\n */\nexport const MARK = 'mark';\n\n/**\n * The time it took for a set of instructions to execute\n */\nexport const FUNCTION = 'function';\n\n/**\n * A user-defined measurement of the duration between two points in time\n */\nexport const MEASURE = 'measure';\n\n// Path: model/op/mcp.json\n// Name: mcp\n\n// Description: Operations related to Model Context Protocol (MCP) interactions\n\n/**\n * A request handled by an MCP server (e.g. a tool call, resource read, or prompt request).\n */\nexport const MCP_SERVER = 'mcp.server';\n\n/**\n * A notification sent from an MCP client to an MCP server.\n */\nexport const MCP_NOTIFICATION_CLIENT_TO_SERVER = 'mcp.notification.client_to_server';\n\n/**\n * A notification sent from an MCP server to an MCP client.\n */\nexport const MCP_NOTIFICATION_SERVER_TO_CLIENT = 'mcp.notification.server_to_client';\n\n// Path: model/op/messaging.json\n// Name: messaging\n\n// Description: Messaging related spans represent operations on topics in streaming data systems and queues, such as producing and consuming messages in Kafka, RabbitMQ.\n\n/**\n * A general queue operation.\n */\nexport const QUEUE = 'queue';\n\n/**\n * Publishing a message to a queue.\n */\nexport const QUEUE_PUBLISH = 'queue.publish';\n\n/**\n * Creating a queue or a message for later publishing.\n */\nexport const QUEUE_CREATE = 'queue.create';\n\n/**\n * Receiving a message from a queue.\n */\nexport const QUEUE_RECEIVE = 'queue.receive';\n\n/**\n * Processing a message from a queue.\n */\nexport const QUEUE_PROCESS = 'queue.process';\n\n/**\n * Settling a message, e.g. acknowledging or rejecting it.\n */\nexport const QUEUE_SETTLE = 'queue.settle';\n\n/**\n * Publishing a message to an arq queue.\n */\nexport const QUEUE_SUBMIT_ARQ = 'queue.submit.arq';\n\n/**\n * Processing a message from an arq queue.\n */\nexport const QUEUE_TASK_ARQ = 'queue.task.arq';\n\n/**\n * Publishing a message to a Celery broker.\n */\nexport const QUEUE_SUBMIT_CELERY = 'queue.submit.celery';\n\n/**\n * Processing a message from a Celery queue.\n */\nexport const QUEUE_TASK_CELERY = 'queue.task.celery';\n\n/**\n * Processing a message from a Dramatiq queue.\n */\nexport const QUEUE_TASK_DRAMATIQ = 'queue.task.dramatiq';\n\n/**\n * Publishing a message to a Huey instance.\n */\nexport const QUEUE_SUBMIT_HUEY = 'queue.submit.huey';\n\n/**\n * Processing a message from a Huey instance.\n */\nexport const QUEUE_TASK_HUEY = 'queue.task.huey';\n\n/**\n * Processing a message from an RQ queue.\n */\nexport const QUEUE_TASK_RQ = 'queue.task.rq';\n\n// Path: model/op/mobile.json\n// Name: mobile\n\nexport const APP = 'app';\n\nexport const FILE = 'file';\n\nexport const SERIALIZE = 'serialize';\n\n// Path: model/op/object.json\n// Name: object\n\n// Description: Object storage related spans represent operations on object storage systems such as Cloudflare R2, Amazon S3, and compatible services.\n\n/**\n * Retrieving an object from an object store.\n */\nexport const OBJECT_GET = 'object.get';\n\n/**\n * Retrieving the metadata of an object from an object store.\n */\nexport const OBJECT_HEAD = 'object.head';\n\n/**\n * Storing an object in an object store.\n */\nexport const OBJECT_PUT = 'object.put';\n\n/**\n * Deleting an object from an object store.\n */\nexport const OBJECT_DELETE = 'object.delete';\n\n/**\n * Listing objects in an object store.\n */\nexport const OBJECT_LIST = 'object.list';\n\n/**\n * Uploading a single part of a multipart upload to an object store.\n */\nexport const OBJECT_UPLOAD_PART = 'object.upload_part';\n\n/**\n * Aborting a multipart upload to an object store.\n */\nexport const OBJECT_MULTIPART_UPLOAD_ABORT = 'object.multipart_upload.abort';\n\n/**\n * Creating a multipart upload to an object store.\n */\nexport const OBJECT_MULTIPART_UPLOAD_CREATE = 'object.multipart_upload.create';\n\n/**\n * Completing a multipart upload to an object store.\n */\nexport const OBJECT_MULTIPART_UPLOAD_COMPLETE = 'object.multipart_upload.complete';\n\n// Path: model/op/routing.json\n// Name: routing\n\n// Description: Routing related spans represent work performed by frontend and backend application routers.\n\n/**\n * A framework-neutral operation for work performed by an application router.\n */\nexport const ROUTER = 'router';\n\n// Path: model/op/web_server.json\n// Name: web_server\n\n/**\n * A general point-in-time span indicating an event\n */\nexport const HTTP = 'http';\n\nexport const HTTP_CLIENT = 'http.client';\n\n/**\n * Consumption of a streaming HTTP client response body\n */\nexport const HTTP_CLIENT_STREAM = 'http.client.stream';\n\nexport const HTTP_SERVER = 'http.server';\n\nexport const WEBSOCKET = 'websocket';\n\nexport const RPC = 'rpc';\n\nexport const GRAPHQL = 'graphql';\n\nexport const SUBPROCESS = 'subprocess';\n\nexport const MIDDLEWARE = 'middleware';\n\n/**\n * Handling of an incoming request by a web server route handler\n */\nexport const HANDLER = 'handler';\n\nexport const VIEW = 'view';\n\nexport const TEMPLATE = 'template';\n\nexport const FUNCTION_REMIX = 'function.remix';\n\nexport const FUNCTION_NEXTJS = 'function.nextjs';\n\nexport const CONSOLE = 'console';\n"],"names":["PAGELOAD","NAVIGATION","NAVIGATION_REDIRECT","RESOURCE","RESOURCE_SCRIPT","RESOURCE_LINK","RESOURCE_IMG","RESOURCE_CSS","RESOURCE_AUDIO","RESOURCE_VIDEO","RESOURCE_IFRAME","RESOURCE_OTHER","RESOURCE_WORKER","RESOURCE_ICON","RESOURCE_FRAME","RESOURCE_OBJECT","RESOURCE_PING","RESOURCE_TRACK","BROWSER","BROWSER_PAINT","BROWSER_UNLOAD_EVENT","BROWSER_REDIRECT","BROWSER_DOM_CONTENT_LOADED_EVENT","BROWSER_LOAD_EVENT","BROWSER_CONNECT","BROWSER_TLS_SSL","BROWSER_CACHE","BROWSER_DNS","BROWSER_REQUEST","BROWSER_RESPONSE","UI","UI_TASK","UI_RENDER","UI_MOUNT","UI_UPDATE","UI_UNMOUNT","UI_LONG_TASK","UI_LONG_ANIMATION_FRAME","UI_INTERACTION_CLICK","UI_INTERACTION_HOVER","UI_INTERACTION_DRAG","UI_INTERACTION_PRESS","UI_WEBVITAL_LCP","UI_WEBVITAL_CLS","UI_ACTION","UI_ACTION_CLICK","UI_REACT","UI_REACT_MOUNT","UI_REACT_RENDER","UI_REACT_UPDATE","UI_VUE","UI_SVELTE","UI_ANGULAR","UI_EMBER","UI_LIVEWIRE","DB","DB_QUERY","CACHE","CACHE_GET","CACHE_PUT","CACHE_REMOVE","GRPC","FUNCTION_GCP","FUNCTION_AWS","FUNCTION_AZURE","GEN_AI_CHAT","GEN_AI_EXECUTE_TOOL","GEN_AI_HANDOFF","GEN_AI_INVOKE_AGENT","GEN_AI_EMBEDDINGS","GEN_AI_GENERATE_CONTENT","GEN_AI_RERANK","MARK","FUNCTION","MEASURE","MCP_SERVER","MCP_NOTIFICATION_CLIENT_TO_SERVER","MCP_NOTIFICATION_SERVER_TO_CLIENT","QUEUE","QUEUE_PUBLISH","QUEUE_CREATE","QUEUE_RECEIVE","QUEUE_PROCESS","QUEUE_SETTLE","QUEUE_SUBMIT_ARQ","QUEUE_TASK_ARQ","QUEUE_SUBMIT_CELERY","QUEUE_TASK_CELERY","QUEUE_TASK_DRAMATIQ","QUEUE_SUBMIT_HUEY","QUEUE_TASK_HUEY","QUEUE_TASK_RQ","APP","FILE","SERIALIZE","OBJECT_GET","OBJECT_HEAD","OBJECT_PUT","OBJECT_DELETE","OBJECT_LIST","OBJECT_UPLOAD_PART","OBJECT_MULTIPART_UPLOAD_ABORT","OBJECT_MULTIPART_UPLOAD_CREATE","OBJECT_MULTIPART_UPLOAD_COMPLETE","ROUTER","HTTP","HTTP_CLIENT","HTTP_CLIENT_STREAM","HTTP_SERVER","WEBSOCKET","RPC","GRAPHQL","SUBPROCESS","MIDDLEWARE","HANDLER","VIEW","TEMPLATE","FUNCTION_REMIX","FUNCTION_NEXTJS","CONSOLE"],"mappings":"AAQO,MAAMA,EAAW,WAKXC,EAAa,aAKbC,EAAsB,sBAKtBC,EAAW,WAEXC,EAAkB,kBAElBC,EAAgB,gBAEhBC,EAAe,eAEfC,EAAe,eAEfC,EAAiB,iBAEjBC,EAAiB,iBAEjBC,EAAkB,kBAElBC,EAAiB,iBAKjBC,EAAkB,kBAKlBC,EAAgB,gBAKhBC,EAAiB,iBAKjBC,EAAkB,kBAKlBC,EAAgB,gBAKhBC,EAAiB,iBAKjBC,EAAU,UAEVC,EAAgB,gBAKhBC,EAAuB,uBAKvBC,EAAmB,mBAKnBC,EAAmC,mCAKnCC,EAAqB,qBAKrBC,EAAkB,kBAKlBC,EAAkB,kBAKlBC,EAAgB,gBAKhBC,EAAc,cAKdC,EAAkB,kBAKlBC,EAAmB,mBAKnBC,EAAK,KAKLC,EAAU,UAEVC,EAAY,YAKZC,EAAW,WAKXC,EAAY,YAKZC,EAAa,aAKbC,EAAe,eAKfC,EAA0B,0BAK1BC,EAAuB,uBAKvBC,EAAuB,uBAKvBC,EAAsB,sBAKtBC,EAAuB,uBAKvBC,EAAkB,kBAKlBC,EAAkB,kBAElBC,EAAY,YAEZC,EAAkB,kBAElBC,EAAW,WAEXC,EAAiB,iBAEjBC,EAAkB,kBAElBC,EAAkB,kBAElBC,EAAS,SAETC,EAAY,YAEZC,EAAa,aAEbC,EAAW,WAEXC,GAAc,cAOdC,GAAK,KAELC,GAAW,WAEXC,GAAQ,QAERC,GAAY,YAEZC,GAAY,YAEZC,GAAe,eAOfC,GAAO,OAEPC,GAAe,eAEfC,GAAe,eAEfC,GAAiB,iBAUjBC,GAAc,cAKdC,GAAsB,sBAKtBC,GAAiB,iBAKjBC,GAAsB,sBAKtBC,GAAoB,oBAKpBC,GAA0B,0BAK1BC,GAAgB,gBAQhBC,GAAO,OAKPC,GAAW,WAKXC,GAAU,UAUVC,GAAa,aAKbC,GAAoC,oCAKpCC,GAAoC,oCAUpCC,GAAQ,QAKRC,GAAgB,gBAKhBC,GAAe,eAKfC,GAAgB,gBAKhBC,GAAgB,gBAKhBC,GAAe,eAKfC,GAAmB,mBAKnBC,GAAiB,iBAKjBC,GAAsB,sBAKtBC,GAAoB,oBAKpBC,GAAsB,sBAKtBC,GAAoB,oBAKpBC,GAAkB,kBAKlBC,GAAgB,gBAKhBC,GAAM,MAENC,GAAO,OAEPC,GAAY,YAUZC,GAAa,aAKbC,GAAc,cAKdC,GAAa,aAKbC,GAAgB,gBAKhBC,GAAc,cAKdC,GAAqB,qBAKrBC,GAAgC,gCAKhCC,GAAiC,iCAKjCC,GAAmC,mCAUnCC,GAAS,SAQTC,GAAO,OAEPC,GAAc,cAKdC,GAAqB,qBAErBC,GAAc,cAEdC,GAAY,YAEZC,GAAM,MAENC,GAAU,UAEVC,GAAa,aAEbC,GAAa,aAKbC,GAAU,UAEVC,GAAO,OAEPC,GAAW,WAEXC,GAAiB,iBAEjBC,GAAkB,kBAElBC,GAAU"}
|