How to use regressionTransformation, cannot see its option in Transforms after enabling

  • What Grafana version and what operating system are you using?

I am running Grafana version 10.1.5-ubuntu docker image

  • What are you trying to achieve?

I want to generate an alert on timeseries based on linear regression slope.

  • How are you trying to achieve it?

I have enabled the regressionTransformation by passing the environment variable

GF_FEATURE_TOGGLES_ENABLE=regressionTransformation,transformationsVariableSupport

In the docker compose file.

  • What happened?

If I go to grafana admin page and see Settings I can see this is enabled.

feature_toggles
enable regressionTransformation,transformationsVariableSupport

But when I go to timeseries panel, transform option. I cannot see regreesion.

  • What did you expect to happen?

See the option to use regression somewhere?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

Can someone from Grafana team answer this please?

1 Like

I would appreciate it as well :slight_smile:

I resolved for myself. I am using grafana in docker.
Set up these env variables:

  • GF_FEATURE_TOGGLES_ENABLE=featureToggleAdminPage, regressionTransformation
  • GF_FEATURE_MANAGEMENT_ALLOW_EDITING=true

After that restarted the grafana.

1 Like