Medusa won the Golden Kitty Award for Best Ecommerce Product ✨  Learn More

Medusa Logo
  • Developers
  • Blog
  • Pricing
  • Community
  • About
  • Careers
  • Get Started
  • Developers
  • Blog
  • Pricing
  • Community
  • About
  • Careers
  • Get Started
Browse

Built by

adrien2p

Category

Other

Version

0.2.3

Last updated

Jan 27, 2023, 11:23:18 AM2 months ago
View sourceView on NPMCopy link

medusa-plugin-sentry-ui

Description

Thie spackage provides a set of component to have a sentry dashboard right into your admin and be able to get an overview of what is happening without having to leave your admin.

JavaScript Error and Performance Monitoring Resolve JavaScript errors with max efficiency, not max effort. Get actionable insights to resolve JavaScript performance issues with the ability to track, debug, and resolve JavaScript errors across platforms.

Getting started

Requirements

Your server need to have installed medusa-plugin-sentry before being able to use that library as the data are comsumed from that plugin.

First of all, you need to install the plugin as follow yarn add medusa-plugnin-sentry-ui

For the simple uasge you can open the file src/pages/a.js and add the following component above the Routes component ```javascript import { medusaUrl } from "../services/config" import { Sentry } from "medusa-plugin-sentry-ui"

const SentryRoute = () => { const location = useLocation() const organisation = "YOUR_ORGA_ON_SENTRY" const project = "YOUR_PROJECt_ON_SENTRY"

return ( ) } ```

The in the Routes component you can add the following content just bellow the other routes javascript <SentryRoute path="sentry/*"/>

Finally, to add an access to your page, you can go to src/components/organisms/sidebar/index.tsx and add a new item in the component just like the following one javascript <SidebarMenuItem pageLink={"/a/sentry"} icon={<ClockIcon size={ICON_SIZE} />} triggerHandler={triggerHandler} text={"Sentry"} />

You should now be able to start your admin and go to your page to see your sentry dashboard 🚀

altText of the image

Build your own plugins

Take Medusa up another level, and develop your own plugins with our API to speed up your processes.

Focus on building plugins for tools you use in your daily workflow, and publish to the Medusa Plugin Store for others to install.

Read more
altText of the image
Medusa

Product

Medusa for B2BIntegrationsGet StartedCareers
We're hiring

Developers

DocsAPI ReferencesCommunityDiscussions

Medusa

BlogPricingAboutContact Us

Newsletter

Get a summary of what we’ve shipped during the last month, behind the scenes updates, and team picks. Unsubscribe any time.

© 2023 MedusaJS, Inc.