Skip to content

Commit 1de9354

Browse files
committed
feat(hub): Remove startSpan method
1 parent 5f35839 commit 1de9354

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

packages/hub/src/hub.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -384,13 +384,6 @@ export class Hub implements HubInterface {
384384
}
385385
}
386386

387-
/**
388-
* @inheritDoc
389-
*/
390-
public startSpan(context: SpanContext): Span {
391-
return this._callExtensionMethod('startSpan', context);
392-
}
393-
394387
/**
395388
* @inheritDoc
396389
*/

packages/types/src/hub.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,6 @@ export interface Hub {
180180
/** Returns all trace headers that are currently on the top scope. */
181181
traceHeaders(): { [key: string]: string };
182182

183-
/**
184-
* @deprecated No longer does anything. Use use {@link Transaction.startChild} instead.
185-
*/
186-
startSpan(context: SpanContext): Span;
187-
188183
/**
189184
* Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.
190185
*

0 commit comments

Comments
 (0)