diff --git a/static/app/views/profiling/landing/profilesChartWidget.tsx b/static/app/views/profiling/landing/profilesChartWidget.tsx index a50ec6c18e80b4..3d8c6cb63d8700 100644 --- a/static/app/views/profiling/landing/profilesChartWidget.tsx +++ b/static/app/views/profiling/landing/profilesChartWidget.tsx @@ -9,6 +9,7 @@ import type {PageFilters} from 'sentry/types/core'; import type {Series} from 'sentry/types/echarts'; import {axisLabelFormatter, tooltipFormatter} from 'sentry/utils/discover/charts'; import {useProfileEventsStats} from 'sentry/utils/profiling/hooks/useProfileEventsStats'; +import useOrganization from 'sentry/utils/useOrganization'; import { ContentContainer, @@ -39,6 +40,7 @@ export function ProfilesChartWidget({ widgetHeight, }: ProfilesChartWidgetProps) { const theme = useTheme(); + const organization = useOrganization(); const profileStats = useProfileEventsStats({ dataset: 'profiles', @@ -116,7 +118,13 @@ export function ProfilesChartWidget({ return ( - {header ?? {t('Profiles by Percentiles')}} + {header ?? ( + + {organization.features.includes('continuous-profiling-compat') + ? t('Transactions by Percentiles') + : t('Profiles by Percentiles')} + + )}