OBLYTECH Logo
OBLYTECH Logo

DevOps Health Scans and Insights Dashboards in ServiceNow

DevOps health scans in DevOps Change Velocity run a set of checks against your instance and flag problems that can block pipelines, changes or access. DevOps Insights turns data from connected tools into dashboards and reports on delivery speed, approvals and stability. This guide shows how to run the suites and read the results.

How the health scan suites are organised

A suite is a collection of security center checks that execute together, so the suite you pick should match what you want to test and how often. At the top sits a parent suite called DevOps Change Velocity Health, which holds two child suites. Running the parent runs the full DevOps set, and running a child runs the checks that belong to it.

The Scheduled child can be given a timetable, so the scan runs regularly even when no active session is open on the instance. The On-demand child runs against a specific target and suits focused work, such as confirming the effect of a tool connection or plugin change straight after you make it. For a single check, open the checks list, select it and choose Test Check. That fits the case where one finding has been fixed and you want to rerun just that check.

Running a suite scan step by step

Start in the DevOps Change Workspace. Open the Lists module, go to Health scans, then Suites, select the suite and choose Execute suite scan. The user needs the sn_devops.admin role, and the DevOps Change Health Scan Content Pack application must be activated. If the scan options do not appear, check the content pack first.

In the Australia release, instances on DevOps Change Velocity versions 3.0 through 5.0 with the content pack activated reach this feature through the Classic UI in the ServiceNow AI Platform. On that version the feature is reachable only from the Classic UI.

Reading results and findings

The Results list shows the status and type of each scan, the checks that ran, and any errors or logs. The Findings list shows the violations. Each finding points to a source record and the number of times that record triggered the rule. A record that keeps tripping the same rule is a practical place to start, since the repeat count shows where the rule keeps firing.

What the scan checks look for

Several newer checks list no written resolution, so for those the finding is the starting point. Read each check against the part of the toolchain it covers, since a stalled pipeline can trace back to a tool connection, a credential or a plugin version.

Scheduled checks

The subflow timeout check compares subflow run times with the 45-second default in the base system. Repeated timeouts indicate a potential issue. The fix is to raise the timeout for that subflow in the Integration Capability table, which requires the DevOps Admin role.

The empty roles check flags base system roles with an empty role reference, a gap that can reach the Discover action and event processing. The duplicate pipelines check exists because the DevOps data model does not enforce uniqueness on pipelines, so duplicates cause intermittent behaviour. Delete the duplicate pipeline that has no pipeline executions or is not linked to an app. The devops.system user check confirms the user exists and that no field-level access rules block the connection and credential tables.

Pipeline checks cover two cases: pipelines that failed across their previous ten executions, and pipelines stuck in a waiting state indefinitely. Review the recent executions, then the inbound events and the DevOps error log. The troubleshooting guide walks through that investigation. A stale request check flags discover and import requests stuck for about five to six hours, since they can block new requests for the same tool and target.

On-demand checks

The module access policy check targets policies in the reject state. Auto-generated policies default to reject, and that can affect tool connectivity, event processing, pipeline processing and change creation. Setting the result to Track restores access. The change control check covers pipelines that have change control on but no tracking, which can stop change requests from being created. Select Track on the tool record or add the pipeline to an app.

Webhook analysis covers GitHub, GitLab, Azure DevOps and Jenkins, confirming each tracked repository, pipeline or plan has a correctly configured webhook. The OAuth check is GitHub-specific and compares the App ID and Client ID against the Application Registry and JWT Provider records. Upgrade checks report files skipped during an upgrade, which you merge by hand, and update set changes to DevOps scoped files, which call for a standard process for moving customisations.

Reading the DevOps Insights dashboards

The Workspace dashboard is the current view. It breaks work item data down by type. The Classic Standard dashboard covers similar ground but is deprecated for new users, so plan around the Workspace version.

Summary and flow metrics

The Summary tab gives a quick read: average work-in-progress cycle time, average lead time for production pipeline executions, deployment frequency, test pass percentage, work items completed in the last 30 days, and activity per application. Deployment frequency counts completed steps of the Prod Deploy type.

The Flow metrics tab shows how work moves, including average flow time to a successful production deployment, work in progress, throughput by work item type and planned-to-deploy time.

Change acceleration

The Change acceleration tab compares automated and manual changes. A change counts as automated when a change policy performs the approve or reject action, and as manual when a user or group approves it and no policy acts. The tab also reports auto-accept and auto-reject decisions, and changes awaiting approval, which default to the New and Assess states.

The savings figures are estimates. Developer hours saved come from the number of work items in each change, at one hour per developer by default. Savings equal those hours multiplied by the average hourly developer cost. Automation removes the manual work of filling in the change and attaching work items, commits and test results, so larger changes produce larger estimates.

Accelerate metrics and stability

The Accelerate tab reports deployment frequency, lead time, mean time to restore and change failure rate. Lead time runs from the earliest commit to production, using successful Prod Deploy steps. Change failure rate compares DevOps changes linked to an incident with all DevOps change requests. The availability widgets need the Service Portfolio Management Foundation plugin installed before DevOps Insights.

Keeping the data collection jobs running

The Daily Data Collection job is active by default and runs as an admin. It brings new third-party tool data into the dashboards, so keep it enabled and schedule it for a period of low usage. The Historical Data Collection job is inactive by default and is a one-time task for teams that installed DevOps Insights after already using DevOps. Its run time depends on data volume. New applications also need their data import job to finish before they can join a product.

Setting the properties that shape the numbers

Insights properties sit under System configuration in the DevOps Change Workspace and need the sn_devops.admin role.

Property What it controls Default
X hours per Developer time Hours saved per work item, used for developer hours saved 1
Change Request Awaiting States Which states count as awaiting approval -5 and -4 (New and Assess)
Average Hourly Developer Cost Hourly cost used for the savings figure, in the selected currency 100

The awaiting states value uses numeric codes: New is -5, Assess -4, Authorize -3, Schedule -2, Implement -1, Review 0, Closed 3 and Canceled 4.

Grouping applications into products

Products roll application data up into larger units, such as application, team, product and portfolio. Give each application a model category first, then create the product as an application model with the category Bundle. Finally, create a component record for each application, naming the product as the parent bundle.

The System Health dashboard and weekly email

The System Health dashboard tracks integration health and inbound event processing. It needs DevOps data model 1.33 or later and the sn_devops.admin role. Its charts show event counts, events by state and by tool, retry, processed, error and waiting counts, and processing duration. Scores are not real-time, and because they come from formula indicators you cannot drill down to records from the KPI page, so check event records directly when a figure looks wrong. A background job tests each tool connection hourly and keeps the history.

A weekly summary email goes to the DevOps Report group. It compares this week’s health indicators with the previous week’s, using the same tables. Edit the scheduled job to change the frequency, and edit the group to change recipients.

Frequently asked questions

Which role do I need to run the DevOps health scans?

The scan procedure requires the sn_devops.admin role. That role also edits Insights properties. The subflow timeout fix is a separate step that needs the DevOps Admin role in the Integration Capability table.

Why does a DevOps dashboard show no data?

Check the data collection jobs first. The Daily Data Collection job must be active and run as an admin, because it brings in data from the connected tools. If Insights was installed after DevOps was already in use, the Historical Data Collection job also needs to run.

What should I do with a check that has no resolution?

Open the source record from the finding, trace the failing object, and review the logs of the tool involved.

Is the System Health dashboard the same as the health scans?

No. Health scans look for configuration, access and pipeline problems. The System Health dashboard tracks event processing and connectivity over time. A scan can point to a configuration fault, and the System Health trends show whether events are still moving through the system.