What does app_mode configuration change?

Hi,
I’m developing a data-source plugin. To allow it unsigned I have set the configuration to app_mode=development.

  1. What does this configuration do except for allowing unsigned plugins?
  2. What can be wrong if I set this configuration on a production environment?

Thanks

In short, it’s meant to give developers deeper insights into the system internals. A potential risk of running development mode in production would be that you expose more information to your users about the system you’re running Grafana on. The information could then be used by malicious actors to plan their attack.

A couple of things that I believe are configured by development mode:

  • Enable more verbose logging and descriptive errors
  • Disable sending usage stats to Grafana.com

Perfect. Thank you Marcus!

1 Like