segment-integrations / analytics.js-integration-sentry

The Sentry analytics.js integration.
https://segment.com/docs/integrations/sentry/
MIT License
3 stars 7 forks source link

add plugin support to sentry #1

Open ndhoule opened 9 years ago

ndhoule commented 9 years ago

From @ianstormtaylor on June 7, 2014 1:21

Sentry lets you add plugins when loading their library, would be good to let the user pass in which plugins they'd like to load.

Copied from original issue: segmentio/analytics.js-integrations#197

ndhoule commented 9 years ago

From @jivinivan on December 1, 2014 19:16

:+1:

hankim813 commented 8 years ago

looked up sentry docs for how to do this but can't find any examples of this. closing due to inactivity + lack of context here.

QuentinFchx commented 8 years ago

https://docs.getsentry.com/hosted/clients/javascript/integrations/ Example for angular I think it should be something along:

<% plugins = ['angular', 'console'] %>
<script src="https://cdn.ravenjs.com/2.3.0/<%= plugins.join(',') %>/raven.min.js"></script>
<!-- instead of -->
<script src="https://cdn.ravenjs.com/2.3.0/raven.min.js"></script>

For Angular, the main issue is that users have to make sure that raven+angular is loaded before bootstraping their app.

hankim813 commented 8 years ago

Thanks! I'll reopen it and triage this issue internally -- happy to accept PRs in the meantime though! :)

xavhan commented 7 years ago

up again, Seems that Raven CDN exposes their plugins as well at http://ravenjs.com/ hope this could help.

xavhan commented 7 years ago

If instead of loading https://cdn.ravenjs.com/3.17.0/raven.min.js you provide the possibility to load https://cdn.ravenjs.com/3.17.0/angular/raven.min.js it would make the use of sentry and segment within an Angular app seemless ;)

hankim813 commented 7 years ago

cc @anoonan

SegmentDestinationsBot commented 5 years ago

Hi @ndhoule, as part of the monorepo migration, this issue has been moved to new issue. Our engineers have been notified and will prioritize and work on it ASAP. Thank you!

For more information, see README.md.