Skip to content

Commit

Permalink
feat(dynamic-sampling): Copy changes (#83154)
Browse files Browse the repository at this point in the history
Update copy to accommodate feedback.

Closes getsentry/projects#523
  • Loading branch information
ArthurKnaus authored Jan 9, 2025
1 parent c13aed7 commit 01dea19
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion static/app/views/settings/dynamicSampling/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function DynamicSamplingSettings() {
)}
<p>
{t(
'Dynamic sampling adaptively reduces the number of spans stored in Sentry without changing SDK sample rates. It allows you to keep the most relevant samples and obtain accurate high-level insights while limiting redundancy and stored span volume. You can customize sample rates and priorities in these settings to control which data is stored.'
'Dynamic Sampling lets you manage span storage in Sentry. This prioritizes important events and increases visibility into lower-volume projects, keeping the most relevant data while minimizing redundancy. You can customize sample rates and priorities in the settings to control which data is retained.'
)}
</p>
{organization.samplingMode === 'organization' ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function OrganizationSampleRateField({}) {
required
label={t('Target Sample Rate')}
help={t(
'Sentry automatically adapts the sample rates of your projects based on this organization-wide target.'
'Set a global sample rate for your entire organization. This will determine how much incoming traffic should be stored across all your projects.'
)}
>
<InputWrapper
Expand Down
14 changes: 3 additions & 11 deletions static/app/views/settings/dynamicSampling/organizationSampling.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Panel from 'sentry/components/panels/panel';
import PanelBody from 'sentry/components/panels/panelBody';
import PanelHeader from 'sentry/components/panels/panelHeader';
import {Tooltip} from 'sentry/components/tooltip';
import {t, tct} from 'sentry/locale';
import {t} from 'sentry/locale';
import {space} from 'sentry/styles/space';
import {OnRouteLeave} from 'sentry/utils/reactRouter6Compat/onRouteLeave';
import useOrganization from 'sentry/utils/useOrganization';
Expand Down Expand Up @@ -104,20 +104,12 @@ export function OrganizationSampling() {
</FormActions>

<HeadingRow>
<h4>{t('Project Preview')}</h4>
<h4>{t('Preview of Dynamic Sampling in Action')}</h4>
<ProjectionPeriodControl period={period} onChange={setPeriod} />
</HeadingRow>
<p>
{tct(
'This table gives you a preview of how your projects will be affected by the target sample rate. The [strong:estimated rates] are based on recent span volume and change continuously.',
{
strong: <strong />,
}
)}
</p>
<p>
{t(
'Rates apply to all spans in traces that start in each project, including a portion of spans in connected other projects.'
'This table is a preview of how your projects will be affected by your chosen target sample rate. Estimated rates are based on recent span volume and change accordingly.'
)}
</p>
{sampleCountsQuery.isError ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function SamplingModeField({initialTargetRate}: Props) {
title={
hasAccess &&
tct(
'Automatic mode allows you to set a target sample rate for your organization. Sentry automatically adjusts individual project rates to boost small projects and ensure equal visibility. [link:Learn more]',
'In automatic mode, sample rates will be adjusted continuously to account for changes in event volume over time. [link:Read the docs]',
{
link: (
<ExternalLink href="https://docs.sentry.io/product/performance/retention-priorities/" />
Expand All @@ -76,7 +76,7 @@ export function SamplingModeField({initialTargetRate}: Props) {
title={
hasAccess &&
tct(
'Manual mode allows you to set fixed sample rates for each project. [link:Learn more]',
'Manually specify the percentage of incoming traffic that should be stored for each project. [link:Read the docs]',
{
link: (
<ExternalLink href="https://docs.sentry.io/product/performance/retention-priorities/" />
Expand Down

0 comments on commit 01dea19

Please sign in to comment.