#Remove environment from Sentry issues

3 messages · Page 1 of 1 (latest)

digital hollow
#

Hi, I made a typo in my Sentry environment naming, and now it is polluting my environments dropdown list. How can I solve this? Many thanks 🙂

fervent hemlockBOT
#

Hi @digital hollow. I'm happy to dig into this for you! I'll check my internal sources for answers to your question! :wave:

#

Unfortunately, you cannot delete environments in Sentry, but you can hide them from the UI to solve your issue with the typo in your environment name.

To hide an environment:

  1. Go to Project Settings
  2. Navigate to Environments
  3. Select "Hide" for the environment with the typo

This will remove the environment from your dropdown list, though it's important to note that events sent to that environment will still count against your quota.

As stated in the Sentry documentation, "Since you can't delete environments, Sentry has an option to hide it from the UI. Hiding environments can be useful when you're no longer sending events from an environment, or you've accidentally created an environment you don't want." Environments Documentation

If a project is hidden, you won't see that environment in the environment selector, unless another project with events from the same environment is also selected and doesn't have it hidden in its project settings.

For future environment configurations, remember that environment names are case-sensitive and cannot contain newlines, spaces, forward slashes, can't be the string "None", or exceed 64 characters.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: