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 🚀

.png)
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.
.png)