|
@@ -5,6 +5,7 @@ import Alert from 'sentry/components/alert';
|
|
|
import Button from 'sentry/components/button';
|
|
|
import ButtonBar from 'sentry/components/buttonBar';
|
|
|
import {NumberField} from 'sentry/components/forms';
|
|
|
+import ExternalLink from 'sentry/components/links/externalLink';
|
|
|
import LoadingIndicator from 'sentry/components/loadingIndicator';
|
|
|
import {PanelTable} from 'sentry/components/panels';
|
|
|
import QuestionTooltip from 'sentry/components/questionTooltip';
|
|
@@ -235,17 +236,14 @@ function UniformRateModal({
|
|
|
return (
|
|
|
<Fragment>
|
|
|
<Header closeButton>
|
|
|
- <h4>{t('Set a uniform sample rate for Transactions')}</h4>
|
|
|
+ <h4>{t('Define a global sample rate')}</h4>
|
|
|
</Header>
|
|
|
<Body>
|
|
|
<TextBlock>
|
|
|
{tct(
|
|
|
- 'Similarly to how you would configure a [transactionSampleRate: Transaction Sample Rate] from within your client’s [sentryInit: Sentry.init()], we ask you to [uniformRate: set a uniform sample rate] which provides an even cross-section of transactions from [allProjects: all projects].',
|
|
|
+ 'Set a global sample rate for the percent of transactions you want to process (Client) and those you want to index (Server) for your project. Below are suggested rates based on your organization’s usage and quota. Once set, the number of transactions processed and indexed for this project come from your organization’s overall quota and might impact the amount of transactions retained for other projects. [learnMoreLink:Learn more about quota management.]',
|
|
|
{
|
|
|
- transactionSampleRate: <strong />,
|
|
|
- sentryInit: <strong />,
|
|
|
- uniformRate: <strong />,
|
|
|
- allProjects: <strong />,
|
|
|
+ learnMoreLink: <ExternalLink href="" />,
|
|
|
}
|
|
|
)}
|
|
|
</TextBlock>
|
|
@@ -303,7 +301,7 @@ function UniformRateModal({
|
|
|
setSelectedStrategy(Strategy.RECOMMENDED);
|
|
|
}}
|
|
|
/>
|
|
|
- {isEdited ? t('New') : t('Recommended')}
|
|
|
+ {isEdited ? t('New') : t('Suggested')}
|
|
|
{!isEdited && (
|
|
|
<QuestionTooltip
|
|
|
title={t(
|
|
@@ -345,7 +343,7 @@ function UniformRateModal({
|
|
|
{isEdited && (
|
|
|
<Button
|
|
|
icon={<IconRefresh size="sm" />}
|
|
|
- aria-label={t('Reset to recommended values')}
|
|
|
+ aria-label={t('Reset to suggested values')}
|
|
|
onClick={() => {
|
|
|
setClientInput(rateToPercentage(recommendedClientSampling));
|
|
|
setServerInput(rateToPercentage(recommendedServerSampling));
|