@output.ai/core 0.1.18-dev.pr24-87as → 0.1.18-dev.pr31-foo
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/package.json +1 -1
- package/src/tracing/index.d.ts +10 -11
package/package.json
CHANGED
package/src/tracing/index.d.ts
CHANGED
|
@@ -15,11 +15,10 @@ export declare const Tracing: {
|
|
|
15
15
|
/**
|
|
16
16
|
* Adds the start phase of a new event at the default trace for the current workflow.
|
|
17
17
|
*
|
|
18
|
-
* @param
|
|
19
|
-
* @param
|
|
20
|
-
* @param
|
|
21
|
-
* @param
|
|
22
|
-
* @returns {void}
|
|
18
|
+
* @param id - A unique id for the Event, must be the same across all phases: start, end, error.
|
|
19
|
+
* @param kind - The kind of Event, like HTTP, DiskWrite, DBOp, etc.
|
|
20
|
+
* @param name - The human friendly name of the Event: query, request, create.
|
|
21
|
+
* @param details - All details attached to this Event Phase. DB queried records, HTTP response body.
|
|
23
22
|
*/
|
|
24
23
|
addEventStart( args: { id: string; kind: string; name: string; details: any } ): void; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
25
24
|
|
|
@@ -28,9 +27,9 @@ export declare const Tracing: {
|
|
|
28
27
|
*
|
|
29
28
|
* It needs to use the same id of the start phase.
|
|
30
29
|
*
|
|
31
|
-
* @param
|
|
32
|
-
* @param
|
|
33
|
-
* @returns
|
|
30
|
+
* @param id - A unique id for the Event, must be the same across all phases: start, end, error.
|
|
31
|
+
* @param details - All details attached to this Event Phase. DB queried records, HTTP response body.
|
|
32
|
+
* @returns
|
|
34
33
|
*/
|
|
35
34
|
addEventEnd( args: { id: string; details: any } ): void; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
36
35
|
|
|
@@ -39,9 +38,9 @@ export declare const Tracing: {
|
|
|
39
38
|
*
|
|
40
39
|
* It needs to use the same id of the start phase.
|
|
41
40
|
*
|
|
42
|
-
* @param
|
|
43
|
-
* @param
|
|
44
|
-
* @returns
|
|
41
|
+
* @param id - A unique id for the Event, must be the same across all phases: start, end, error.
|
|
42
|
+
* @param details - All details attached to this Event Phase. DB queried records, HTTP response body.
|
|
43
|
+
* @returns
|
|
45
44
|
*/
|
|
46
45
|
addEventError( args: { id: string; details: any } ): void; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
47
46
|
};
|