arvo-core 1.0.15 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -64,8 +64,8 @@ export declare const exceptionToSpan: (span: Span, level: TelemetryLogLevel, err
|
|
64
64
|
* telemetryContext,
|
65
65
|
* 'ProcessOrder',
|
66
66
|
* { attributes: { orderId: '12345' } },
|
67
|
-
* (
|
68
|
-
* span.addEvent('Processing order');
|
67
|
+
* (telemetryContext, orderId) => {
|
68
|
+
* telemetryContext.span.addEvent('Processing order');
|
69
69
|
* return processOrder(orderId);
|
70
70
|
* },
|
71
71
|
* null,
|
@@ -78,8 +78,8 @@ export declare const exceptionToSpan: (span: Span, level: TelemetryLogLevel, err
|
|
78
78
|
* 'OrderService',
|
79
79
|
* 'FetchOrderDetails',
|
80
80
|
* undefined,
|
81
|
-
* (
|
82
|
-
* span.setAttribute('orderId', orderId);
|
81
|
+
* (telemetryContext, orderId) => {
|
82
|
+
* telemetryContext.span.setAttribute('orderId', orderId);
|
83
83
|
* return fetchOrderDetails(orderId);
|
84
84
|
* },
|
85
85
|
* null,
|
@@ -115,8 +115,8 @@ exports.exceptionToSpan = exceptionToSpan;
|
|
115
115
|
* telemetryContext,
|
116
116
|
* 'ProcessOrder',
|
117
117
|
* { attributes: { orderId: '12345' } },
|
118
|
-
* (
|
119
|
-
* span.addEvent('Processing order');
|
118
|
+
* (telemetryContext, orderId) => {
|
119
|
+
* telemetryContext.span.addEvent('Processing order');
|
120
120
|
* return processOrder(orderId);
|
121
121
|
* },
|
122
122
|
* null,
|
@@ -129,8 +129,8 @@ exports.exceptionToSpan = exceptionToSpan;
|
|
129
129
|
* 'OrderService',
|
130
130
|
* 'FetchOrderDetails',
|
131
131
|
* undefined,
|
132
|
-
* (
|
133
|
-
* span.setAttribute('orderId', orderId);
|
132
|
+
* (telemetryContext, orderId) => {
|
133
|
+
* telemetryContext.span.setAttribute('orderId', orderId);
|
134
134
|
* return fetchOrderDetails(orderId);
|
135
135
|
* },
|
136
136
|
* null,
|