Weekly Grafana observability report in Notion

By General Input

Every Monday morning, turn last week's Grafana activity into a written report in Notion that leadership will actually read, and share the link in Slack.

Integrations

  • Grafana
  • Notion
  • Slack

Type

Agentic Task

Categories

  • Engineering
  • Operations

Build me an agent workflow that publishes a weekly observability health report to Notion and shares the link in Slack. The deliverable is a written narrative leadership will actually read, not a dashboard screenshot.

Trigger: cron, every Monday at 9am in my local timezone. The reporting window is the previous seven calendar days.

What the agent should do, in order:

1. Call Grafana Find Annotations across the last seven days. Split the results into two buckets: deployment-tagged annotations (what we shipped) and alert-typed annotations (what broke). Use these to build a simple chronological timeline of deploys versus incidents.

2. Call Grafana List Alert Rules. Cross-reference each rule against the alert annotations in the window to classify rules into three groups: (a) rules that fired heavily and may be noisy, (b) rules that did not fire at all this week and may be stale or dead, and (c) rules that were created or modified during the window. Use judgement on the thresholds; do not hardcode strict numbers.

3. Call Grafana Search Dashboards and Folders to surface the top dashboards by tag relevance for the noisiest services from step 2. Include those dashboard links in the report so readers can drill in.

4. Call Notion Create a Page as a child of a parent page the user picks at setup (for example, an Observability Weekly page). The page title should be something like "Observability Weekly: <week of date>". Structure it with these sections: deploy count for the week, top firing alerts with counts, suspected noisy rules to revisit, suspected stale rules, recently added or modified rules, top dashboards for the noisiest services, and a short prose summary at the top that compares this week to recent weeks (deploy volume up or down, incident pattern shifts, what to watch). Where the agent has run before, use prior Notion pages under the same parent as a memory of recent weeks for the comparison.

5. Call Slack Send a Message to a channel the user picks at setup (default: the engineering channel). The message should be one paragraph: deploy count, biggest alert story, anything worth attention, and the link to the new Notion page.

This is an agent workflow rather than a code workflow because the noisy-versus-stale classification, the week-over-week trend summary, and the prose recap all require judgement. Keep the report concise: an executive paragraph up top, then scannable lists, then dashboard links. No raw query output dumps.

At setup, ask me for: the Grafana instance to connect, the Notion parent page for the weekly archive, the Slack channel for the recap, my timezone, and whether I want deployment annotations identified by a specific tag (default: "deployment").

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentWin back LiveChat visitors whose chats went unansweredChat quality review board for LiveChat support leadsWin back no-show and cancelled appointments every morningLive Loop returns analytics with product-level drill-downNewsletter pre-flight and approval board for Mailjet sendsTurn a prospect spreadsheet into personalized sequence enrollmentsMailjet email delivery lookup console for support teamsCatch feature flags that never got switched on in productionScreen chartered vessels for AIS gaps and sanctions red flags