Browse Source

ref(apm): Rename tag since it is too long (#18961)

Alberto Leal 4 years ago
parent
commit
29e9a3c59b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/sentry/static/sentry/app/utils/apm.tsx

+ 2 - 2
src/sentry/static/sentry/app/utils/apm.tsx

@@ -51,11 +51,11 @@ export async function normalizeTransactionName(
       },
       (error, _redirectLocation, renderProps) => {
         if (error) {
-          set(event, ['tags', 'transaction.rename.react-router-match'], 'error');
+          set(event, ['tags', 'transaction.rename.router-match'], 'error');
           return resolve(undefined);
         }
 
-        set(event, ['tags', 'transaction.rename.react-router-match'], 'success');
+        set(event, ['tags', 'transaction.rename.router-match'], 'success');
 
         const routePath = getRouteStringFromRoutes(renderProps.routes ?? []);
         return resolve(routePath);