File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,13 @@ export class SpanRecorder {
67
67
export class Span implements SpanInterface {
68
68
/**
69
69
* Tags for the span.
70
- * @deprecated Use `getSpanAttributes (span)` instead.
70
+ * @deprecated Use `spanToJSON (span).atttributes ` instead.
71
71
*/
72
72
public tags : { [ key : string ] : Primitive } ;
73
73
74
74
/**
75
75
* Data for the span.
76
- * @deprecated Use `getSpanAttributes (span)` instead.
76
+ * @deprecated Use `spanToJSON (span).atttributes ` instead.
77
77
*/
78
78
// eslint-disable-next-line @typescript-eslint/no-explicit-any
79
79
public data : { [ key : string ] : any } ;
@@ -263,7 +263,7 @@ export class Span implements SpanInterface {
263
263
264
264
/**
265
265
* Attributes for the span.
266
- * @deprecated Use `getSpanAttributes (span)` instead.
266
+ * @deprecated Use `spanToJSON (span).atttributes ` instead.
267
267
*/
268
268
public get attributes ( ) : SpanAttributes {
269
269
return this . _attributes ;
Original file line number Diff line number Diff line change @@ -226,19 +226,19 @@ export interface Span extends Omit<SpanContext, 'op' | 'status' | 'origin'> {
226
226
227
227
/**
228
228
* Tags for the span.
229
- * @deprecated Use `getSpanAttributes (span)` instead.
229
+ * @deprecated Use `spanToJSON (span).atttributes ` instead.
230
230
*/
231
231
tags : { [ key : string ] : Primitive } ;
232
232
233
233
/**
234
234
* Data for the span.
235
- * @deprecated Use `getSpanAttributes (span)` instead.
235
+ * @deprecated Use `spanToJSON (span).atttributes ` instead.
236
236
*/
237
237
data : { [ key : string ] : any } ;
238
238
239
239
/**
240
240
* Attributes for the span.
241
- * @deprecated Use `getSpanAttributes (span)` instead.
241
+ * @deprecated Use `spanToJSON (span).atttributes ` instead.
242
242
*/
243
243
attributes : SpanAttributes ;
244
244
You can’t perform that action at this time.
0 commit comments