Skip to content

RQ docs: remove defunct --sentry-dsn CLI flag #17936

@sentry-junior

Description

@sentry-junior

The RQ integration page references --sentry-dsn as an rq worker CLI flag, but RQ has fully removed this option. The comment on the page says "only necessary for RQ < 1.0" but the flag no longer exists at all in any current RQ release — the official RQ worker docs list no such argument.

This creates a confusing loop: RQ's own documentation points users to the Sentry docs page for integration guidance, but the Sentry page instructs them to pass a flag that doesn't exist.

Fix: Remove the --sentry-dsn line from the rq worker startup command in the Configure section. Initializing the SDK via mysettings.py (which the page already covers) is the correct and complete approach.

Affected page: https://docs.sentry.io/platforms/python/integrations/rq/

Reported by a user via Sentry User Feedback. Action taken on behalf of Rahul Chhabria.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions