Skip to content

Commit

Permalink
update vue origins
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Aug 10, 2023
1 parent 9ee43ec commit 7fcc001
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/vue/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function vueRouterInstrumentation(
startTransaction({
name: WINDOW.location.pathname,
op: 'pageload',
origin: 'auto.http.vue',
origin: 'auto.pageload.vue',
tags,
metadata: {
source: 'url',
Expand Down Expand Up @@ -122,7 +122,7 @@ export function vueRouterInstrumentation(
startTransaction({
name: transactionName,
op: 'navigation',
origin: 'auto.http.vue',
origin: 'auto.navigation.vue',
tags,
data,
metadata: {
Expand Down
12 changes: 6 additions & 6 deletions packages/vue/test/router.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('vueRouterInstrumentation()', () => {
query: to.query,
},
op: 'navigation',
origin: 'auto.http.vue',
origin: 'auto.navigation.vue',
tags: {
'routing.instrumentation': 'vue-router',
},
Expand Down Expand Up @@ -149,7 +149,7 @@ describe('vueRouterInstrumentation()', () => {
source: 'url',
},
op: 'pageload',
origin: 'auto.http.vue',
origin: 'auto.pageload.vue',
tags: {
'routing.instrumentation': 'vue-router',
},
Expand Down Expand Up @@ -196,7 +196,7 @@ describe('vueRouterInstrumentation()', () => {
query: to.query,
},
op: 'navigation',
origin: 'auto.http.vue',
origin: 'auto.navigation.vue',
tags: {
'routing.instrumentation': 'vue-router',
},
Expand Down Expand Up @@ -228,7 +228,7 @@ describe('vueRouterInstrumentation()', () => {
query: to.query,
},
op: 'navigation',
origin: 'auto.http.vue',
origin: 'auto.navigation.vue',
tags: {
'routing.instrumentation': 'vue-router',
},
Expand Down Expand Up @@ -263,7 +263,7 @@ describe('vueRouterInstrumentation()', () => {
source: 'url',
},
op: 'pageload',
origin: 'auto.http.vue',
origin: 'auto.pageload.vue',
tags: {
'routing.instrumentation': 'vue-router',
},
Expand Down Expand Up @@ -350,7 +350,7 @@ describe('vueRouterInstrumentation()', () => {
query: to.query,
},
op: 'navigation',
origin: 'auto.http.vue',
origin: 'auto.navigation.vue',
tags: {
'routing.instrumentation': 'vue-router',
},
Expand Down

0 comments on commit 7fcc001

Please sign in to comment.