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 19840c3 commit 171e2a1Copy full SHA for 171e2a1
packages/apm/src/hubextensions.ts
@@ -40,6 +40,7 @@ function startSpan(context: SpanContext | TransactionContext): Transaction | Spa
40
if ((context as TransactionContext)._isTransaction && !(context as TransactionContext).name) {
41
logger.warn('You are trying to start a Transaction but forgot to provide a `name` property.');
42
logger.warn('Will fall back to <unlabeled transaction>, use `transaction.setName()` to change it.');
43
+ (context as TransactionContext).name = '<unlabeled transaction>';
44
}
45
46
if ((context as TransactionContext).name) {
0 commit comments