Skip to content

Conversation

constantinius
Copy link
Contributor

No description provided.

@constantinius constantinius requested a review from a team as a code owner September 3, 2025 13:24
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Sep 3, 2025
@constantinius constantinius enabled auto-merge (squash) September 3, 2025 13:26
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Missing Integration Initialization in Setup Guide

The Python Anthropic setup guide's step description instructs users to import and initialize AnthropicIntegration, but the code example no longer includes it. This inconsistency can confuse users and affect proper SDK instrumentation.

static/app/gettingStartedDocs/python/python.tsx#L575-L604

`,
},
],
},
],
};
const anthropicSdkStep = {
type: StepType.CONFIGURE,
description: tct(
'Import and initialize the Sentry SDK with the [code:AnthropicIntegration] to instrument the Anthropic SDK:',
{code: <code />}
),
configurations: [
{
code: [
{
label: 'Python',
value: 'python',
language: 'python',
code: `
import sentry_sdk
sentry_sdk.init(
dsn="${params.dsn.public}",
traces_sample_rate=1.0,
# Add data like inputs and responses to/from LLMs and tools;
# see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
send_default_pii=True,
)`,

Fix in Cursor Fix in Web


@constantinius constantinius merged commit d6eab63 into master Sep 3, 2025
45 checks passed
@constantinius constantinius deleted the constantinius/feat/onboarding/anthropic-working-in-comments branch September 3, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants