{"repo":"DiederikvandenB/apollo-link-sentry","free":true,"listed":false,"github":"https://github.com/DiederikvandenB/apollo-link-sentry","clone":"git clone https://github.com/DiederikvandenB/apollo-link-sentry.git","description":"Apollo Link middleware which enriches SentryJS with GraphQL data","language":"TypeScript","stars":125,"topics":["apollo","graphql","sentry","error-reporting"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Apollo Link Sentry Apollo Link to enrich Sentry events with GraphQL data Installation Note : Due to a release issue, v3.0.0 of this package has been unpublished. Please use v3.0.1 Note : starting from v2.0.0 of this package we support @apollo/client v3.0. Features Turn this: Into this: Basic setup Initialize Sentry as you would normally. Then, add apollo-link-sentry to your Apollo Client's link array: Options See src/options.ts. Compatibility with other Apollo Links apollo-link-sentry aims to be friendly with other apollo-link packages, in the sense that we would like for you to be able to attach as much data as you want. For example, if you would like to add the HTTP headers you set with apollo-link-context , you can do that by setting includeContextKeys: ['headers'] . In case you find that there's a piece of data you're missing, feel free to open an issue. Be careful what you include Please note that Sentry sets some limits to how big events can be. For instance, events greater than 200KiB are immediately dropped (pre decompression) . More information on that here. Be especially careful with the includeCache option, as caches can become quite large. Furthermore, much of the data you are sending to Sentry can include (sensitive) personal information. This might lead you to violating the terms of the GDPR. Use Sentry's beforeBreadcrumb function to filter out all sensitive data. Exclude redundant fetch breadcrumbs By default, Sentry attaches all fetch events as breadcrumbs. Si","default_branch":null,"files":null,"tree":[],"storefront":"/r/DiederikvandenB","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DiederikvandenB/apollo-link-sentry/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}