We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1214a03 commit f89a842Copy full SHA for f89a842
packages/tracing/src/index.ts
@@ -22,6 +22,8 @@ export { Integrations };
22
export { BrowserTracing } from './browser';
23
24
export { Span, SpanStatusType, spanStatusfromHttpCode } from './span';
25
+// eslint-disable-next-line deprecation/deprecation
26
+export { SpanStatus } from './spanstatus';
27
export { Transaction } from './transaction';
28
export {
29
// TODO deprecate old name in v7
packages/tracing/src/spanstatus.ts
@@ -1,4 +1,7 @@
1
-/** The status of an Span. */
+/** The status of an Span.
2
+ *
3
+ * @deprecated Use string literals - if you require type casting, cast to SpanStatusType type
4
+ */
5
// eslint-disable-next-line import/export
6
export enum SpanStatus {
7
/** The operation completed successfully. */
0 commit comments