Metric collection in ServiceNow starts by choosing the monitored service, the measurements needed to investigate its health, and the collection path for those measurements. Configure the relevant collector or integration, check that data arrives with meaningful context, and validate its timing before using the results to guide alerts or operational decisions.
Plan metric collection in ServiceNow around a service question
Start with a question an operator must answer: is authentication slowing down, is a virtual machine reporting an unhealthy condition, or are employee devices showing a recurring problem? Write down the service, supporting resources, expected measurement, and person responsible for investigating a change. This makes the collection scope reviewable before configuration starts.
For each proposed measurement, record its meaning, resource identity, unit where applicable, and expected arrival pattern. Distinguish an activity rate from a duration or a count. A change in replication throughput and a change in authentication time require different interpretation, even when both originate from the same directory server.
Choose a small pilot scope with a known owner. Agree on what successful collection looks like: a recognizable resource, interpretable values, and observations arriving at the expected cadence. Treat this as an acceptance checklist rather than assuming a configured collector proves that monitoring works.
Use server performance monitoring to frame infrastructure investigation needs. Keep the collection plan focused on obtaining the measurements that support those investigations. These configuration steps apply to the Brazil release. Confirm that the settings match your instance before making changes.
Prepare the Metric Intelligence collection infrastructure
Automated Metric Intelligence setup requires the evt_mgmt_admin role. Before starting, the chosen MID Server must be validated and running. The sa.metric.display.mid.setup.action property must be true for the Setup Metric Intelligence related link to appear; true is its default value.
- Navigate to All > MID Server > Servers and select the MID Server intended for Metric Intelligence.
- On its form, select Setup Metric Intelligence under Related Links.
- In the resulting Metric Intelligence Metrics Extension form, wait until Status is Started.
- For a pushing configuration, select Setup REST Listener. Inspect the resulting MID Server Extension record and verify that its Status is Started.
The automated setup assigns the Operation Intelligence application and the Metrics capability to the MID Server. It also creates a distributed cluster, adds that MID Server, and starts a Metric Intelligence Metrics Extension. The cluster uses a default Apache Ignite port of 47100. The REST listener setup creates a MID Web Server extension with Enable REST Listener selected and a default port of 8097.
Plan this action as the starting point for the first cluster with a single MID Server and default values. Additional distributed clusters and additional Metric Intelligence MID Servers require manual configuration after automated setup. If automation fails, the alternative is to create the distributed cluster manually.
Separate infrastructure readiness from data readiness during the pilot review. Started is the extension state to verify, but acceptance should also include evidence that the intended service measurements are reaching their destination. Keep a record of which resource and collection path were tested so later troubleshooting begins with a specific working example.
Select measurements that explain the service condition
Active Directory checks produce metrics that can help investigate authentication and replication behavior. Select measurements by the operational question they answer, then review their meaning with the directory team. Similar metric names do not make their values interchangeable.
- Authentication duration: active_dir.LDAP_Bind_Time measures the duration of the last successful LDAP bind in milliseconds.
- Connected demand: active_dir.LDAP_Client_Sessions represents currently connected LDAP client sessions.
- Search activity: active_dir.LDAP_Searches/sec measures the rate of LDAP client searches.
- Replication progress: active_dir.DRA_Inbound_Full_Sync_Objects_Remaining represents objects still awaiting full synchronization, when set.
These are featured metrics. Featured metrics appear in the Operator Workspace Metric tab after an alert is generated, providing context for investigation. Do not make that alert-dependent display your sole acceptance check for the collection pipeline. Include a separate review of the expected measurement and its resource context in your test plan.
For an authentication service pilot, compare bind duration with client sessions and search activity over the same investigation window. Use the comparison to guide investigation; a shared time window alone cannot establish causation. The bind measurement concerns the last successful operation, so it should not be read as an average of every authentication attempt. Likewise, currently connected sessions are a count, while searches per second describe activity over time. A pilot review should retain those distinctions: a low search rate does not establish that the most recent bind was fast, and a connection count cannot supply a missing bind duration. Review each value separately before deciding which directory behavior needs investigation. This keeps the investigation tied to what the selected measurements actually represent.
Agree on the intended collection route before expanding the measurement list. Where agent-based monitoring is part of that decision, review Agent Client Collector monitoring alongside the resource requirements. Record which measurements the chosen route will supply and which require separate work.
Use Azure monitoring data with explicit inputs and access
The CAL – Azure VM Monitoring Metric Data action returns monitoring information for a specified Microsoft Azure virtual machine. Its inputs are Credential Alias, Version, and VM. Credential Alias identifies the Azure credential, Version specifies the Azure API version, and VM supplies the resource URI. The Result output is a string containing the returned monitoring information.
Using this action in custom flows requires an Integration Hub Enterprise subscription or an App Engine subscription. User access depends on roles granted through delegated development or assigned to the user. The caller also needs the Microsoft.Compute/virtualMachines/{vmName}/instanceView cloud permission. Do not assume the Metric Intelligence setup role grants Azure access.
For a pilot, identify the intended VM before assembling the flow inputs. Review the returned Result against the resource requested and the information needed by the service operator. Define how the receiving workflow will interpret that output; invoking an action does not by itself establish an ongoing collection schedule or an operational alert policy.
For help planning this work, see ServiceNow implementation.
Change DEX collection frequency through the policy
For DEX measurements, changing collection frequency requires the sn_dex_admin role. The interval is adjusted on the relevant check instance within an agent policy. Keep this change scoped to DEX rather than treating the setting as a universal interval for Metric Intelligence or cloud integrations.
- Navigate to Workspaces > Service Operations Workspace and select the DEX Administration icon in the primary navigation pane.
- Under Device and application configuration, select Manage policies on the Agent policies card.
- Open the relevant policy and select Edit in Sandbox, checking that you are editing in the correct application.
- In Check Instances, open the appropriate instance and change Override interval(sec).
- Select Update, then Return to Policy, and select Republish.
Before changing the interval, decide what additional observation detail the service needs. Afterward, compare arrivals with the intended cadence and record the policy and check instance changed. Consider gaps separately from valid low values: an absent observation should prompt a collection check before an operator interprets it as an improvement in service health.
Validate collection before designing the response
Review the pilot from resource to operator. Can the team identify the source, interpret the measurement, distinguish a stale observation from a recent one, and connect an unusual value to an investigation? Keep unresolved collection defects visible rather than compensating with broader alert conditions.
Test representative conditions where authorized, including an expected quiet period and a period with meaningful activity. Record what the operator should see and what would count as a failed test. This gives the service owner a reason to accept collection beyond the presence of a chart or a successful setup action.
Once the measurements are dependable, decide which changes warrant investigation and who receives them. Event Management KPIs and metrics can support that response review. Keep delivery quality and operational outcomes visible as separate questions: arriving data can still be poorly chosen for the service problem.
Questions about collection ownership and rollout
Who should approve adding another measurement?
Assign approval to the service owner with input from the team that maintains the resource. Ask for the investigation question and a named consumer of the data. A measurement without either is a candidate for deferral during the pilot.
How should a team handle overlapping collection proposals?
Compare the resource, measurement meaning, and intended consumer before approving both. Retain separate feeds when they answer different questions. Where the proposals duplicate effort, agree on a preferred route and document responsibility for maintaining it.
What should be included in the operational handover?
Provide the agreed scope, access owners, expected observation pattern, acceptance results, and escalation contact within the team. Include the change record for collection configuration so an operator can relate a later gap to recent maintenance.
When should the pilot expand to another service?
Expand after the current owner accepts the measurements and the team has resolved unexplained gaps. Select the next service by a concrete investigation need. Preserve a separate acceptance record so success on one resource does not stand in for validation of another.