Skip to content

Disable (Laravel) cron monitor depending on environment #84269

Open
@aartvark

Description

We added the sentryMonitor macro to some of our entries in the console route file to help determine app health in production. When installing the same code base to our staging or testing environments, now we have cron monitors running when we don't need/want them. It would be nice to have a setting in the Laravel .env file to disable the monitor macro for those environments.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Waiting for: Support

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions