Skip to content

Conversation

@demkkka
Copy link

@demkkka demkkka commented Aug 31, 2025

This PR updates the example exampleMatcher configuration to improve safety when users define their own environment-specific silences. Previously, users might mistakenly create silences targeting a production environment (e.g., with env="production") when they intended to target staging. Such configuration errors can lead to silencing production alerts unintentionally, which poses significant risks.

To address this, I changed the example to prioritize silencing staging (env="staging") in case of misconfiguration. This approach minimizes potential impact if users make mistakes while adapting the example for their use case.

I'd appreciate any feedback or suggestions on this approach! Thanks!

@demkkka demkkka force-pushed the Replace-env-production-with-env-staging branch from 2adc1ca to 1fb4805 Compare August 31, 2025 09:05
- Updated exampleMatcher constant in FilterBar/Views.elm
- Updated asset/assets_vfsdata.go with new frontend build

Signed-off-by: Dmitry Abramov <[email protected]>
@demkkka demkkka force-pushed the Replace-env-production-with-env-staging branch from 1fb4805 to c6dd407 Compare August 31, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant