Add suggested questions to the Data Analyst Agent

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The Data Analyst Agent shows generic URL-based suggested questions on the empty chat screen, which don't reflect what the agent can do. Users don't know what to ask — user research confirmed this: "If I knew what to expect from it up front... that would be a lot more helpful."

The suggested_questions field is now supported on foundational agent definitions (docs, #594533 (closed)).

What needs to be done

Add suggested_questions to the analytics_agent entry in foundational_chat_agents_definitions.rb.

Potential questions

Questions listed in Support config-based default questions for agen... (#581914)

  • How many merge requests were merged this month?
  • What is the average time to merge?
  • Show me pipeline success rates
  • Analyze project activity trends

Other proposed questions:

  • How many MRs were merged in the last 30 days?
  • Which issues have been open the longest?
  • What is the average time to merge for my group?
  • How many issues were closed this month?
  • What labels are most used in open issues?
  • Which team members have the most open MRs?
  • Show me pipeline success rates for this project
  • What is the MR rate for my group?

Additional considerations

Only list questions that are available on all tiers

Tasks

  • Review proposed questions against current GLQL capabilities
  • Add suggested_questions to the analytics_agent definition
Edited by 🤖 GitLab Bot 🤖