Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 301 Bytes

File metadata and controls

13 lines (11 loc) · 301 Bytes

Metrics work out of the box by calling Sentry.init, no further setup is required.

import * as Sentry from '@sentry/electron/main';

Sentry.init({
  dsn: '___PUBLIC_DSN___',
  // Only needed for SDK versions < 8.0.0
  // _experiments: {
  //   metricsAggregator: true,
  // },
});