Browse Source

chore(billing): Add continuous profiling docs link (#78289)

For https://github.com/getsentry/getsentry/pull/15245

To be merged once we have documentation to continuous profiling.
Alberto Leal 5 months ago
parent
commit
a9bea87369
1 changed files with 10 additions and 1 deletions
  1. 10 1
      static/app/views/settings/account/notifications/utils.tsx

+ 10 - 1
static/app/views/settings/account/notifications/utils.tsx

@@ -37,7 +37,14 @@ export const groupByOrganization = (
  * Returns a link to docs on explaining how to manage quotas for that event type
  */
 export function getDocsLinkForEventType(
-  event: 'error' | 'transaction' | 'attachment' | 'replay' | 'monitorSeat' | 'span'
+  event:
+    | 'error'
+    | 'transaction'
+    | 'attachment'
+    | 'replay'
+    | 'monitorSeat'
+    | 'span'
+    | 'profileDuration'
 ) {
   switch (event) {
     case 'transaction':
@@ -52,6 +59,8 @@ export function getDocsLinkForEventType(
       return 'https://docs.sentry.io/product/session-replay/';
     case 'monitorSeat':
       return 'https://docs.sentry.io/product/crons/';
+    case 'profileDuration':
+      return 'https://docs.sentry.io/product/explore/profiling/';
     default:
       return 'https://docs.sentry.io/product/accounts/quotas/manage-event-stream-guide/#common-workflows-for-managing-your-event-stream';
   }