sentry-docs icon indicating copy to clipboard operation
sentry-docs copied to clipboard

There is no example for event processors in Ruby

Open yuval-sentry opened this issue 3 years ago • 3 comments

Core or SDK?

Platform/SDK

Which part? Which one?

Ruby

Description

There is no example under the Ruby documentation on how to use event processors

Suggested Solution

The information about what event processors are and how they are being used can be found here: https://docs.sentry.io/platforms/node/enriching-events/event-processors/

And here is a code sample in Ruby:

scope.add_event_processor do |event, hint|
        # do whatever with the event here   
        event.tags = { foo: 'bar }
        event
      end

yuval-sentry avatar Jun 09 '22 22:06 yuval-sentry

Routing to @getsentry/team-web-sdk-backend for triage. ⏲️

getsentry-release avatar Jun 10 '22 13:06 getsentry-release

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Jul 13 '22 00:07 github-actions[bot]

@sl0thentr0py, feel free to take this one once you get some free time

vladanpaunovic avatar Aug 08 '22 13:08 vladanpaunovic