Skip to main content
Version: v1.40.0

📣 Notifier

Overview

In GO Feature Flag, a notifier is a component that informs you about changes in the feature flag configuration.

It's distinct from exporters, which handle the results of flag evaluations. Notifiers focus on changes to the configuration itself.

About notifiers

When the GO Feature Flag client detects a change in the configuration through the retriever's polling mechanism, it triggers the configured notifiers. The notifier then sends a notification to the specified destination.

Notifiers are useful for a variety of purposes, such as:

  • Information: Notifiers can send to your team chat a notification that a feature flag has changed.
  • Reacting to flag changes: Using the webhook notifier, you can trigger any action you want in your system to react to flag changes.
Limitation if you are running multiple GO Feature Flag

By nature, GO Feature Flag is 100% stateless, so if you run multiple instance of GO Feature Flag, you will receive notification for changes from each instance. In each notification you will have the hostname of the instance, it can be useful if you have multiple GO Feature Flag running.

Key Differences Between Notifiers and Exporters

FeatureNotifiersExporters
PurposeNotify about configuration changesExport flag evaluation results.
TriggerConfiguration update detected by retrieverFlag evaluation (e.g., calling BoolValue()).
Data SentInformation about the configuration changeFlag name, variation, user context, timestamp.
Use CasesInforming about configuration changesAnalytics, monitoring flag usage, debugging.

Supported notifiers

  • Slack
  • Discord
  • Microsoft Teams
  • Webhook
  • Log

Check how to configure the notifiers