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 e488f51 commit fe7d870Copy full SHA for fe7d870
packages/angular/src/tracing.ts
@@ -14,6 +14,7 @@ import {
14
startBrowserTracingNavigationSpan,
15
} from '@sentry/browser';
16
import {
17
+ SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,
18
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,
19
getActiveSpan,
20
getClient,
@@ -208,6 +209,7 @@ export class TraceService implements OnDestroy {
208
209
if (transaction && attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE] === 'url') {
210
transaction.updateName(route);
211
transaction.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, 'route');
212
+ transaction.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, `auto.${spanToJSON(transaction).op}.angular`);
213
}
214
}),
215
);
0 commit comments