Docker Feature Toggles

Hi everyone,

I am trying to add features to my Docker instance of Grafana. Specifically the stuff mentioned here.

As far as I can tell I need to enable some kind of feature toggle, I don’t know how to do that and as the docker image is severally nerfed because we cant have a grafana.ini that we can just add the items into, I am a little stuck.

Any help on this would be greatly appreciated.

  • OzDM

The documentation only adds to the confusion. disable a feature toggle that is on by default by mjseaman · Pull Request #69438 · grafana/grafana · GitHub suggest that it is currently not possible to deactivate features through env-variables. Therefore it is not possible to deactivate features in grafana docker setups. That is very annoying since certain features are pushed prominently in the UI that don’t make sense in many setups. E.g. if loki and prometheus are not used, then drilldown and metrics provide no functionality, but take space and attention in the main menu bar.

1 Like

Hello Grafana people !!! Please react on this, the documentation is not clear at all, whatever we try is not working. Could you please be clearer on how we can disable feature toggle on Docker please ???

Try setting this environment variable like so:
GF_FEATURE_TOGGLES_ENABLE: "feature1,feature2"

This worked for me using the grafana/grafana:12.0.0 image.

See Set provisioning on with env variable - #6 by skladd