# Solid Error and Performance Monitoring

> Resolve performance bottlenecks & errors with Solid performance monitoring by Sentry. Get actionable insights on Solid releases here.

**URL:** https://sentry.io/for/solid/

---

Actionable insights to resolve Solid performance bottlenecks and errors. Improve your monitoring workflow with a full view of releases so you can mark Solid errors as resolved and prioritize live issues.

**Documentation:** [https://docs.sentry.io/platforms/javascript/guides/solid/](https://docs.sentry.io/platforms/javascript/guides/solid/)

## Install

To use the SDK, initialize Sentry in your Solid entry point index.jsx before you render your Solid app:

```javascript
// index.jsx / index.tsx

import * as Sentry from "@sentry/solid";
import { useBeforeLeave, useLocation } from "@solidjs/router";
import { render } from "solid-js/web";
import App from "./app";

// Initialize the Sentry SDK here
Sentry.init({
  dsn: "__DSN__",
  integrations: [Sentry.browserTracingIntegration()],

  // Performance Monitoring
  tracesSampleRate: 1.0, //  Capture 100% of the transactions
  // Set 'tracePropagationTargets' to control for which URLs trace propagation should be enabled
  tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
});

const app = document.getElementById("app");

if (!app) throw new Error("No #app element found in the DOM.");

render(() => <App />, app);
```

See the [Solid docs](https://docs.sentry.io/platforms/javascript/guides/solid/) for full setup options.

## Features

### Solid Performance Monitoring

Quickly identify [performance](/for/performance/) issues and view full end-to-end distributed trace to see the exact poor-performing API call and surface any related Solid errors. Improve Solid performance with max efficiency, not max effort.

### Issues, replayed

Get to the root cause of an error or latency issue faster with context like DOM events, console logs, and network calls within one visual replay on your web application.

### Solid Error Monitoring With Complete Stack Traces

See the error and Solid stack trace previously only visible in your user's debug console. Apply source maps automatically to convert minified, compiled, or transpiled code back to its original form. Keep your Solid source maps private by uploading them directly to Sentry.

### Fill In The Blanks About Solid Errors

See what the app was doing when the Solid error occurred: user interactions, AJAX requests, console log messages, and more. Learn in which version a bug first appeared, merge duplicates, and know if things regress in a future release

---

*Source: [sentry.io/for/solid/](https://sentry.io/for/solid/)*
