@sentry/ember 7.65.0 → 7.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/addon/index.ts
CHANGED
|
@@ -87,7 +87,14 @@ export const instrumentRoutePerformance = <T extends RouteConstructor>(BaseRoute
|
|
|
87
87
|
if (!currentTransaction) {
|
|
88
88
|
return result;
|
|
89
89
|
}
|
|
90
|
-
currentTransaction
|
|
90
|
+
currentTransaction
|
|
91
|
+
.startChild({
|
|
92
|
+
op,
|
|
93
|
+
description,
|
|
94
|
+
origin: 'auto.ui.ember',
|
|
95
|
+
startTimestamp,
|
|
96
|
+
})
|
|
97
|
+
.finish();
|
|
91
98
|
return result;
|
|
92
99
|
};
|
|
93
100
|
|
|
@@ -119,6 +119,7 @@ export function _instrumentEmberRouter(
|
|
|
119
119
|
activeTransaction = startTransaction({
|
|
120
120
|
name: `route:${routeInfo.name}`,
|
|
121
121
|
op: 'pageload',
|
|
122
|
+
origin: 'auto.pageload.ember',
|
|
122
123
|
tags: {
|
|
123
124
|
url,
|
|
124
125
|
toRoute: routeInfo.name,
|
|
@@ -141,6 +142,7 @@ export function _instrumentEmberRouter(
|
|
|
141
142
|
activeTransaction = startTransaction({
|
|
142
143
|
name: `route:${toRoute}`,
|
|
143
144
|
op: 'navigation',
|
|
145
|
+
origin: 'auto.navigation.ember',
|
|
144
146
|
tags: {
|
|
145
147
|
fromRoute,
|
|
146
148
|
toRoute,
|
|
@@ -150,6 +152,7 @@ export function _instrumentEmberRouter(
|
|
|
150
152
|
transitionSpan = activeTransaction?.startChild({
|
|
151
153
|
op: 'ui.ember.transition',
|
|
152
154
|
description: `route:${fromRoute} -> route:${toRoute}`,
|
|
155
|
+
origin: 'auto.ui.ember',
|
|
153
156
|
});
|
|
154
157
|
});
|
|
155
158
|
|
|
@@ -211,6 +214,7 @@ function _instrumentEmberRunloop(config: EmberSentryConfig): void {
|
|
|
211
214
|
activeTransaction
|
|
212
215
|
?.startChild({
|
|
213
216
|
op: `ui.ember.runloop.${queue}`,
|
|
217
|
+
origin: 'auto.ui.ember',
|
|
214
218
|
startTimestamp: currentQueueStart,
|
|
215
219
|
endTimestamp: now,
|
|
216
220
|
})
|
|
@@ -287,6 +291,7 @@ function processComponentRenderAfter(
|
|
|
287
291
|
activeTransaction?.startChild({
|
|
288
292
|
op,
|
|
289
293
|
description: payload.containerKey || payload.object,
|
|
294
|
+
origin: 'auto.ui.ember',
|
|
290
295
|
startTimestamp: begin.now,
|
|
291
296
|
endTimestamp: now,
|
|
292
297
|
});
|
|
@@ -370,6 +375,7 @@ function _instrumentInitialLoad(config: EmberSentryConfig): void {
|
|
|
370
375
|
const transaction = getActiveTransaction();
|
|
371
376
|
const span = transaction?.startChild({
|
|
372
377
|
op: 'ui.ember.init',
|
|
378
|
+
origin: 'auto.ui.ember',
|
|
373
379
|
startTimestamp,
|
|
374
380
|
});
|
|
375
381
|
span?.finish(endTimestamp);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/ember",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.66.0",
|
|
4
4
|
"description": "Official Sentry SDK for Ember.js",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/ember",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@embroider/macros": "^1.9.0",
|
|
37
|
-
"@sentry/browser": "7.
|
|
38
|
-
"@sentry/types": "7.
|
|
39
|
-
"@sentry/utils": "7.
|
|
37
|
+
"@sentry/browser": "7.66.0",
|
|
38
|
+
"@sentry/types": "7.66.0",
|
|
39
|
+
"@sentry/utils": "7.66.0",
|
|
40
40
|
"ember-auto-import": "^1.12.1 || ^2.4.3",
|
|
41
41
|
"ember-cli-babel": "^7.26.11",
|
|
42
42
|
"ember-cli-htmlbars": "^6.1.1",
|