Generative AI for Dashboards

How do I set up generative AI for dashboard titles and description as per the new version of Grafana (10.2)?

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

  • What are you trying to achieve?

  • How are you trying to achieve it?

  • What happened?

  • What did you expect to happen?

  • 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?

It’s not clear what you are asking, but I would recommended to ask Grot:

I just went through the blog by Grafana about the latest updates in the version 10.2. There was a mentioning about a new AI feature that enables us to generate Title and Description of panels and dashboards. I wanted to know how to enable that feature.

Hi @aftabs

You need to enable the feature toggle dashgpt

More here:

To enable these features, you must first enable the dashgpt feature toggle. Then install and configure Grafana’s LLM app plugin. For more information, refer to the Grafana LLM app plugin documentation.

When enabled, look for the :sparkles: Auto generate option next to the Title and Description fields in your panels and dashboards, or when you press the Save button.

Is v10.2 a minor update compared to v10.1?

Based on this, I would say it’s NOT a minor update compared to v10.1.

1 Like

What is required for the plugin?

  • updated grafana to 10.2.2
  • added in the grafana ini file
    dashgpt = true
  • in this file, added the folowwing line
    app_mode = development
  • installed the plugin,
  • test is ok:

OpenAI health check succeeded!

  • gpt-3.5-turbo: OK
  • gpt-4: OK
  • activated the plugin…

But I cannot see any change on grafana, no IA help. What did I miss?

Ok, seen. In the grafana.ini I need:

# there are currently two ways to enable feature toggles in the `grafana.ini`.
# you can either pass an array of feature you want to enable to the `enable` field or
# configure each toggle by setting the name of the toggle to true/false. Toggles set to true/false
# will take presidence over toggles in the `enable` list.

enable = dashgpt

dashgpt = true

Now I can click on Description auto-generate or Titel auto-generate, I got this

An unexpected error happened

Error: Minified React error #301; visit for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at K ( at Oe ( at div at div at g ( at form at r ( at at ( at div at div at div at q ( at i ( at div at p ( at div at P ( at div at Be ( at at div at H ( at at B ( at c ( at je ( at r at l ( at v ( at d ( at d ( at o ( at g ( at y ( at zf (