Skip to content

Add new sink component for Sentry (sentry.io) #23325

Description

@AbhiPrasad

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

Hey, I work at Sentry. Sentry now supports sending logs.

We at Sentry would love to contribute a Sentry sink to Vector so that users can send their logs via Vector to Sentry. I'd be happy to implement this, and the Sentry team would by happy to own it.

Attempted Solutions

Functionally the sentry logs schema is a superset of the OpenTelemetry one, so the transform should be fairly simple (just have to route it to Sentry ingestion).

Sentry also supports traces, but we can add that as a follow-up due to the alpha nature of tracing in Vector.

Proposal

The component will be stateless. The component needs state to maintain rate limiting information. See Sentry docs here

The API should look something like so:

sinks:
  my_sink_id:
    type: sentry
    inputs:
      - my-source-or-transform-id
    dsn: ${SENTRY_DSN}

The dsn (Data Source Name) references the which org/project should receive the logs in Sentry.

The only unknown in the implementation is dealing with rate limiting. Sentry has a detailed spec on how clients should respond to being rate limited by Sentry (see docs here), and I'm not sure the finely-grained category based rate-limiting will work with Vector. Suggestions are welcome! Was tested, should be fine.

Sentry can be run self-hosted (and is available on GitHub completely source available: github.com/getsentry/sentry) so adding more complicated integration or e2e tests should not be too complex.

References

Issue tracking in Sentry repo: getsentry/sentry#92400

Version

No response

Activity

  1. added
    type:feature
    on Jul 1, 2025
  2. pront commented on Jul 2, 2025

    @pront
    Member

    Hi @AbhiPrasad, thank you for creating this.

    We at Sentry would love to contribute a Sentry sink to Vector so that users can send their logs via Vector to Sentry. I'd be happy to implement this, and the Sentry team would by happy to own it.

    We would be happy to review a PR. Also, happy to hear the component will be stateless (reduces complexity). Let me know if you have any further questions.

  3. AbhiPrasad commented on Jul 2, 2025

    @AbhiPrasad
    Author

    I started to take a look at this, and I unfortunately I don't think we can keep it stateless because the sink will need to keep track of rate limiting information (this should be abstracted behind a transport in in the Sentry Rust SDK: https://github.com/getsentry/sentry-rust/tree/master/sentry/src/transports)

    Otherwise it should be fire and forget, we do not keep any state around the log items themselves, only the response to requests to Sentry.

  4. added
    sink:new
    on Jul 3, 2025
  5. AbhiPrasad commented on Sep 18, 2025

    @AbhiPrasad
    Author

    I've opened a PR for this here: #23750 @pront can you help take a look?

  6. pront commented on Sep 18, 2025

    @pront
    Member

    I've opened a PR for this here: #23750 @pront can you help take a look?

    Hi @AbhiPrasad, we will get to this after the merging window opens again (Vector calendar)

  7. AbhiPrasad commented on Sep 29, 2025

    @AbhiPrasad
    Author

    Hey @pront, any updates on the review? Thanks!

  8. MMore commented on Feb 13, 2026

    @MMore

    Hey @AbhiPrasad and @pront . I saw the PR #23750 was closed without merging it. Any reason for that?

  9. AbhiPrasad commented on Feb 13, 2026

    @AbhiPrasad
    Author

    @MMore

    We elected for another approach at sentry: https://docs.sentry.io/concepts/otlp/forwarding/pipelines/vector/.

    I’m also not working at sentry any more, so I personally won’t be following up on this. I recommend reaching out to sentry directly if you want more details.

  10. removed
    type:feature
    on May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    sink:new

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions