|
@@ -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';
|
|
|
}
|