Monitor Azure elastic jobs in DBA Dash, with alerts and a start/stop option. Delay alerts until an issue has persisted, flag log shipping databases that are no longer on the primary, track backups that belong to a previous database, and open log files as grids in the service config tool and Visualizer.
Elastic Jobs
DBA Dash now monitors the jobs of an Azure SQL Database elastic job agent. Add the agent’s job database as a source connection, grant the service the jobs_reader role in it, and the jobs appear under an Elastic Jobs node on the job database and its Azure server. There’s nothing else to enable.
- Status - each job with its schedule, last execution and message. It uses the same thresholds, exclusions and acknowledgements as SQL Agent jobs.

- History - a job’s executions, drilling down to how each step went against each target database.
- Timeline - the job’s executions over a period, with a row for each step, and a bar for each run from the first target starting to the last finishing.

- Job Stats - executions, failures, retries and durations for each job and step, with a chart over time.

- Alerts and daily reports - an Elastic Job alert is raised against the job database when its last execution fails, listing the databases it failed against. The summary page, the daily report and the Azure server’s Job column all show elastic jobs too.

- Start and stop - an execution can be started, or stopped, from the Elastic Jobs tab. The dialog follows the execution until it completes.

Collection runs every 2 minutes and only sends job definitions when they change. Starting and stopping jobs goes through messaging, guarded in the same way as SQL Agent jobs: the job has to be allowed in the service configuration tool and the user has to have the AllowJobExecution role in the repository. See Elastic Jobs.
Alert notify and resolve delays

Alert rules now have Notify After and Resolve After settings, so a short blip doesn’t send a notification and an issue that keeps clearing briefly doesn’t keep notifying.
- Notify After - an alert is Pending until its issue has lasted that long. If the issue clears first, the alert resolves without a notification.
- Resolve After - once the issue clears, the alert is Resolving until it has stayed clear for that long. It defaults to the Notify After value. If the issue returns meanwhile it’s the same episode, so it doesn’t notify again.
Desktop notifications use the episode’s first due date, and pending alerts are left out of the bell and the daily report. SQL Agent alerts don’t resolve automatically, so the settings are hidden for them. See Rules.
Log shipping
Databases not on the primary

Where a log shipping primary is configured, databases on the secondary that no longer exist on the primary - dropped or renamed, say - are now flagged as Not on Primary. This can explain a Critical status on a database that isn’t being log shipped any more.
You can set a status override for them in the thresholds dialog, at root, instance or database level. The default is to evaluate them with the normal thresholds. A Not On Primary Count repository metric is available too, disabled by default.
Summary and daily report

The Summary tab’s Log Shipping cell now shows how many of the checked databases need attention (“3 of 50”), or “50 OK” when none do, with a tooltip giving the breakdown and the database furthest behind. Databases with no log restore recorded are counted separately, rather than being left out. The daily report gets a line per server in Other checks.
Query plan viewer

A new Tables tab lists the tables, views and functions the statement reads or writes. For each one it shows the indexes used, how they are accessed, seek, scan and lookup counts, its share of the estimated cost and, for actual plans, the rows read. Script Table - from an operator’s Object row, or its right-click menu - jumps to the table’s definition, with the missing index suggestions for it appended.
The AI Analysis tab can also send the definitions of the tables the statement reads, so the model can check its index advice against the indexes that exist. The option is on by default and can be turned off. Literals in the definitions are masked like the rest of the request. See Tables.
From SSMS, the DBA Dash extension (1.0.20) hands a plan tab over with the connection it came from, so the Tables tab can script tables over the query window’s connection.
Visualizer
DBA Dash Visualizer gets several changes for grid files - a result set saved from DBA Dash or SSMS, or JSON records such as a log.
- Dates and times show seconds and milliseconds by default. The Date and Time Format menu picks another format, or a custom one.
- Reload and Watch re-read a file, adding only the new rows, so a log that’s still being written can be followed. Scroll position, sort, filter and column widths are kept.

- View File Text shows the file as it was written - decompressed for a
.gz - in the code viewer, with a Format button for JSON and XML. - Nested JSON values are shown as links, which open indented in the code viewer. View as Grid opens a JSON value on a tab of its own, where it can be filtered and sorted.

See DBA Dash Visualizer.
Service logs as JSON
The DBA Dash service now writes its file log as Serilog compact JSON, one object per event, with each message property as a field. The console output stays as text. The GUI, the Visualizer and DBADashAI write their file logs as JSON too.
- The Service Log dialog in the service configuration tool opens JSON logs as a grid, with a warning for any lines that couldn’t be read. Filters, column choices and widths are kept when the log is refreshed or another file is opened, and a Watch toggle follows a log that’s being written.

- Switch service log format changes between text and JSON. It takes effect when the service restarts.

- Your own logging configuration goes in
serilog.local.json. The service reads it in place of serilog.json when it exists, and upgrades don’t overwrite it.
Every event also carries its ConnectionID, and the message templates are consistent, so a log can be filtered by source, instance or message. This also fixes a case where a timed operation could log another source’s ConnectionID. See Log format.
Also in this release
- ConnectionID prefix for S3 and folder sources. By adding a ConnectionIDPrefix you can ensure server names are unique across isolated environments collected via a S3 bucket. e.g. A managed service provider collecting data from multiple customer environments in a central database. The remote services keep their own ConnectionIDs if they are also writing to a local repository database. See Source Connection.
- Grid filters are kept when refreshing on custom reports, the Summary grids, Metrics and Running Queries, for the same instances. A filter that no longer applies is dropped quietly rather than showing an error.
- Alerts - the AI active alerts tool reports whether an alert is pending or resolving.
- Service config tool - an S3 or folder source no longer offers to restore a deleted instance, as it has no ConnectionID to match one by.
- Backups for contained availability groups. Backups of a contained AG’s system databases weren’t being detected (#2307), and after a failover no backups were reported at all. Backup history is now matched to the current databases by name, with the contained AG’s node names mapped to master and msdb, and history from all the AG’s replicas is included, as msdb fails over with the group.
- Backup matching uses the database’s family GUID, so a backup of an earlier database with the same name - dropped and recreated, say - no longer counts as the current one. Restored copies still match. Where a backup belongs to a previous database, the Backups tab shows a Previous Database Backups warning in the summary and detail grids.
- Backups - when two backups of the same type finish in the same second, the most recent one is now picked by its backup set, so the latest is no longer chosen at random.
- The Community Tools manifest was updated to the latest upstream releases. See Community Tools.
- Fixed: a deadlock signature containing control characters could split a line in the AI log.
Bug fixes & minor changes
See the release notes on GitHub for the full list: