New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@mastra/sentry

Package Overview
Dependencies
Maintainers
7
Versions
479
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package has malicious versions linked to the ongoing "Mastra AI framework compromise" supply chain attack.

Affected versions:

1.1.4
View campaign page

@mastra/sentry

Sentry AI observability exporter for Mastra

Source
npmnpm
Version
1.2.20
Version published
Weekly downloads
16K
-59.49%
Maintainers
7
Weekly downloads
 
Created
Source

@mastra/sentry

Export Mastra traces to Sentry AI monitoring with OpenTelemetry semantic conventions, zero-config setup, and optional SDK or exporter settings.

Installation

npm install @mastra/sentry

Usage

import { Mastra } from '@mastra/core/mastra';
import { Observability } from '@mastra/observability';
import { SentryExporter } from '@mastra/sentry';

export const mastra = new Mastra({
  observability: new Observability({
    configs: {
      sentry: {
        serviceName: 'my-service',
        exporters: [new SentryExporter()],
      },
    },
  }),
});

Documentation

  • Sentry

Changelog

See the package changelog for version history and release notes.

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.

FAQs

Package last updated on 23 Sep 2026

Related posts