Skip to content

Log Feature Flag States

Currently, when a feature flag is released, the only way to monitor it is on sentry, constantly checking errors that might be caused by the addition of a new flag. We can provide a better setup by logging for each request the state of all feature flags that activated (either enabled or disabled).

Some of the benefits logging the feature flag can enable:

  • Compare performance between the states
  • Identify difference in errors that happen between the states
  • Compare custom events (eg counters) between states
Edited by Eduardo Bonet