To set up Automated Metric Intelligence, use a validated, running MID Server and the Setup Metric Intelligence related link with the evt_mgmt_admin role. The action configures the first distributed cluster and metrics extension. Then verify extension startup, configure a REST listener for pushed metrics if needed, and complete metric collection and binding.
Prepare to set up Automated Metric Intelligence
Start with the MID Server that will carry the initial metrics workload. The automated path creates a first cluster containing that server, with default values. Decide whether that starting arrangement fits your deployment before selecting the setup link. Additional clusters and additional Metric Intelligence MID Servers require manual configuration after this first setup.
The setup action requires evt_mgmt_admin. For later work, that role has read and write access to all Event Management features. The evt_mgmt_user role has read access to all Event Management features. The evt_mgmt_operator role has those permissions and can also act on alerts, such as acknowledging or closing them, opening incidents, and running remediations. Assign work according to the specific action each person needs to perform.
Check these three prerequisites before troubleshooting a missing setup link:
- The selected MID Server has been validated.
- The MID Server is running.
- The sa.metric.display.mid.setup.action property is true, which is its default value.
The instructions here use Brazil behavior; check labels and availability on your instance and release. The wider configuration sequence also includes installing AIOps Experience [sn_sow_aiops], activating Metric Intelligence, connecting a metric source, selecting metrics, checking CI binding, setting an anomaly action level, and defining promotion conditions. Treat the automated MID Server setup as one part of that sequence.
Before beginning, record the intended MID Server, initial data source, and a small set of CIs whose metrics you can recognize. This gives the team a concrete path to validate after infrastructure setup. For the surrounding detection concepts, see ITOM anomaly detection and Metric Intelligence.
Run the first-cluster setup and inspect what it creates
With evt_mgmt_admin, navigate to All > MID Server > Servers and open the selected server. In Related Links, select Setup Metric Intelligence. In the newly created Metric Intelligence Metrics Extension form, wait until Status is Started.
The automated action applies the Operation Intelligence application to the MID Server and adds the Metrics capability. It creates a distributed MID Server cluster, adds the selected server to it, and creates and starts a Metric Intelligence Metrics Extension. The distributed cluster uses default port 47100 for Apache Ignite.
Review those resulting records as a group. A cluster record alone does not show that the extension has started, and a started extension does not demonstrate that a connector is delivering the intended metrics. For a handoff, capture the selected MID Server, its cluster membership, the extension record, and the observed status.
The cluster uses port 47100 by default for Apache Ignite. Ask the network team to confirm that port is open between the cluster members before setup runs, so a connectivity gap does not surface as a failed setup.
If automatic creation of the distributed cluster fails, the cluster has to be configured by hand. ServiceNow Customer Support provides the details for that work, so request that guidance before you plan the change. Inspect the resulting state before planning that work so the team understands what was created. The Setup Metric Intelligence link is intended for the first cluster with a single server and default values; expansion needs a separate manual plan.
Add the REST listener when metrics will be pushed
For a MID Server configured for pushing, use Setup REST Listener after the metrics extension reaches Started. This UI action creates a MID Web Server extension with Enable REST Listener selected and default port 8097. The metrics context exposes the listener setup as part of this configuration flow.
After selecting the action, look for the creation notification and the MID Web Server Extension field. Confirm that Enable REST Listener is checked. Preview the associated MID Server Extension record and verify that its Status is Started. These checks establish that the listener record exists and its extension has started.
Port 47100 belongs to Apache Ignite in the distributed cluster, and port 8097 belongs to the REST listener. Record both with the purpose of each connection. Record both alongside the purpose of each connection. This helps avoid investigating the listener when the underlying issue belongs to cluster communication, or investigating the cluster when the sender cannot reach its intake point.
Use the listener step for the pushing configuration described here. The next validation should follow the selected source’s metric path, from collection through CI binding. A successful listener startup is an infrastructure checkpoint, so retain a separate acceptance check for data arriving from the intended source.
Complete collection, binding, and anomaly decisions
Once the MID Server setup is complete, stream metrics through the relevant data source or connector and choose the metrics to monitor. Start with a defined subset that the operations team can inspect. An initial validation set is easier to reason about when the CI, metric name, and expected pattern are known.
Check metric-to-CI and resource binding before tuning detection. Unmapped metrics are excluded from anomaly detection until they are mapped correctly. Review failed binding details and resolve the identity issue first. Otherwise, changing anomaly thresholds can leave the actual obstacle untouched: the metric has not been associated with the CI or resource it represents.
Metric Intelligence builds models from historical metric data and evaluates incoming values against projected behavior. Some series lack enough information for anomaly detection. Therefore, investigate data availability and model suitability alongside binding when a newly connected series produces no anomaly. An absence of anomaly alerts alone is insufficient evidence of a failed MID Server setup.
Next, configure the action level for anomaly detection and define the conditions for promoting anomaly alerts into IT alerts. Anomaly alerts and regular IT alerts are separate. Verify the path your operators intend to use, including whether a relevant anomaly should remain available for investigation or meet the promotion conditions.
Use AIOps KPIs and metrics to frame the operational review around signals the team intends to act on. For help organizing this setup work, see ServiceNow implementation.
Validate self-health before handing over operations
Metric Intelligence includes Event Management self-health monitors for its infrastructure and processing. The monitors run every 60 seconds. A detected failure creates an event that becomes an alert or is appended to a previous alert. Include these signals in the handoff so an ingestion problem can be investigated separately from a service anomaly.
The extension monitor checks for Error or Warning in the status field of ecc_agent_ext_context_metric. The cluster monitor checks ecc_agent_cluster for Error, Segmented, or Stopped. For Stopped, an event is created when error_message is not empty. Preserve the status and accompanying message when documenting a problem.
For active connectors configured for metrics collection, the collection monitor checks last_kpi_status in em_connector_instance for Error. The scheduled-job monitor checks whether essential jobs are inactive: Metric Intelligence — Metric configuration job, Metric Intelligence — Sync tables with mid, and Metric Intelligence — Validate MID Distributed cluster.
Finish the handoff with a short evidence trail: extension startup, cluster membership, listener startup where applicable, incoming source data, binding results, and the intended alert behavior. Give each unresolved item an owner.
Questions about early operation and diagnosis
Can a daily pattern be evaluated immediately after collection starts?
A daily seasonal model requires at least three days of series data under the daily_model_min_days setting. A weekly seasonal model requires at least fifteen days under weekly_model_min_days. Plan observation around the pattern being evaluated rather than treating the first collected point as a trained seasonal baseline.
Where do operators look for anomaly alerts?
Anomaly alerts appear in Service Operations Workspace and do not appear in Express List. When investigating a reported missing alert, establish which alert type the operator expects and which view they are using before changing collection or detection configuration.
How can the team try anomaly detection on selected series?
An anomaly test rule can specify up to twenty metric series. After the test completes, its results can be opened in Insights Explorer. Use a deliberately chosen set of series so reviewers can compare the detected behavior with their understanding of the monitored workload.
Can unnecessary metrics be removed from processing selectively?
A specific metric can be disabled for a specific CI to stop processing that combination. During an early review, identify combinations that do not contribute to the intended operational decision. This gives the team a narrower change to assess than removing a whole source from the monitoring plan.
What should change during planned system maintenance?
Anomaly detection can be disabled during maintenance by setting mid.mi.anomaly_detection.disable to true. Include that setting in the maintenance plan with an owner responsible for reviewing it afterward. Expected maintenance activity can otherwise generate deviations that do not reflect an unexpected service problem.