Commit bda682f3 authored by Liam Horne's avatar Liam Horne

feat: add Sentry release automation

parent 1a55f640
......@@ -19,6 +19,7 @@ import {
const log = new Logger({
name: 'oe:batch-submitter:init',
sentryOptions: {
release: `@eth-optimism/batch-submitter@${process.env.npm_package_version}`,
dsn: process.env.SENTRY_DSN,
tracesSampleRate: 0.05,
},
......
......@@ -107,6 +107,7 @@ export class L1TransportServer extends BaseService<L1TransportServerOptions> {
this.state.app = express()
Sentry.init({
dsn: this.options.sentryDsn,
release: `@eth-optimism/data-transport-layer@${process.env.npm_package_version}`,
integrations: [
new Sentry.Integrations.Http({ tracing: true }),
new Tracing.Integrations.Express({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment