Generate and share reports
Turn an analysis into a document you can share: a PDF built by the platform, or an HTML or Markdown report built by the assistant.
Findings that stay in a chat window are easy to lose. Ask the assistant for a report and you get a document to attach to a ticket, hand to a colleague, or file with a post-mortem.
Two kinds of reports are available, and they come from different places:
Built by
The Datasentinel platform, server-side
The assistant, from the analysis on screen
Content
The raw monitoring data for one instance and one time window
The exact findings, charts, and recommendations of the analysis you just ran
Format
PDF, delivered as a single-use download link
Interactive HTML file, or Markdown to paste anywhere
Scope
One instance
One instance or many (a fleet ranking, a cohort, a comparison)
Needs a fresh data fetch
Yes, the platform builds it from scratch
No, it reuses the data already retrieved in the session
Platform PDF reports
The PDF is produced by Datasentinel itself, with the same content as the Reporting feature of the web interface. The assistant only relays your request to the platform and hands back the download link.
Four report types exist:
Full
Instances, queries, server, and workload in one document
Workload
Session history overview (average active sessions)
Top queries
Top SQL statements ranked by a metric of your choice (total time by default)
Query
Deep-dive on a single query, including its captured execution plan
Every PDF needs three things: an authenticated session, the name of one instance, and a time window of 24 hours at most. If your request leaves one of them out, the assistant asks for it before calling the platform.
This walkthrough was recorded using GitHub Copilot in Visual Studio Code.
Example prompts:
"Generate a full PDF report for prod-eu-1 for this morning 08:00-10:00."
"Generate a top-queries PDF report for prod-eu-1 ranked by WAL volume."
"Generate a query report for the slowest query on prod-eu-1, including its plan."
"Generate a workload PDF report for prod-eu-1 for last night 22:00-23:00."
Assistant-built reports
Once an analysis is on screen, the assistant can turn it into a self-contained report without calling the platform again.
The report mirrors what you just read: the same findings, numbered in the same order as in the chat, the same recommendations with their rationale and expected gain, and the same vocabulary as your communication style (TECHNICAL or PLAIN).
The same report exists in two formats:
The default when your assistant can write and hand over a file. A single .html file that opens in any browser, with no external dependency.
An Overview tab first: KPI cards, the workload charts, and a one-paragraph summary.
One tab per section that has data worth its own page: top queries, waits, blocking, tables, and so on.
A Recommendations tab last, ranked biggest win first.
Light and dark themes, and the verbatim SQL statement and execution plan for a query-focused report.
The portable twin: same sections, same findings, tables instead of charts. Ask for it when the report has to travel somewhere that is not a browser: a ticket, a wiki page, a pull request description, or a chat message.
It is also what the assistant produces when it runs in a host that cannot hand over a file. In that case the report is emitted directly in the response, ready to copy.
You do not have to remember to ask. After every analysis, the assistant closes with a short next-step menu, and that menu always carries the assistant-built report as an option.
For a single-instance analysis it also offers the platform PDF; for a multi-instance analysis (a fleet ranking or a cohort comparison) only the assistant-built report applies, because a PDF covers one instance.
Example prompts:
"Give me an interactive HTML report of that last analysis."
"Give me an HTML report for that period."
"Give me that as Markdown."
Reports pair well with automation: a scheduled analysis can end with an HTML or Markdown report every time it runs. See Run recurring analyses.
Last updated