Skip to content

runtime-dyno-metadata warning even if SENTRY_DSN is not set #885

@jonekdahl

Description

@jonekdahl

We're using Sentry in our app that runs on Heroku, but we don't install the Sentry add-on for our review apps, so SENTRY_DSN is not set for those apps.

I think I've read somewhere that one way to "deactivate" Sentry is to simply not set SENTRY_DSN, so this should be fine. However, I still get the runtime-dyno-metadata warning:

WARN -- sentry: ** [Raven] You are running on Heroku but haven't enabled Dyno Metadata. For Sentry's release detection to work correctly, please run `heroku labs:enable runtime-dyno-metadata`

I would like Sentry to be completely silent when SENTRY_DSN is not available, or at least not log warnings.

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions