From 12e757f5ae01d9c4ad27f4a9b2c289d06eb00b9a Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Tue, 16 Jan 2024 13:27:40 +0100 Subject: [PATCH] chore(core): Update `Span.getSpanJSON` description as internal --- packages/core/src/tracing/span.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/core/src/tracing/span.ts b/packages/core/src/tracing/span.ts index 353f2e4d694f..d140c3d0a910 100644 --- a/packages/core/src/tracing/span.ts +++ b/packages/core/src/tracing/span.ts @@ -508,6 +508,11 @@ export class Span implements SpanInterface { /** * Get JSON representation of this span. + * + * @hidden + * @internal This method is purely for internal purposes and should not be used outside + * of SDK code. If you need to get a JSON representation of a span, + * use `spanToJSON(span)` instead. */ public getSpanJSON(): SpanJSON { return dropUndefinedKeys({