Metric-based alert definitions help you monitor changes in AI workload, model, and GPU signals. They specify the metrics, resource scope, and conditions used to identify situations that may require investigation.
This section describes sample AI Observability alert definitions, how they identify resources, and how to create and validate a definition for your environment. Use the resulting alerts alongside dashboard metrics, traces, and logs to investigate potential issues.
Sample AI Observability definitions
The following 16 definitions are examples configured for cloud-side AI Observability. They cover AI workload services, Dynamo/vLLM model serving, and GPU telemetry.
| # | Definition | Signal | Evaluation |
|---|---|---|---|
| 1 | aiworkload_error_rate | AI workload operation error rate | Static: Warning > 0.01; Critical > 0.05; persist 5 minutes |
| 2 | aiworkload_end_to_end_latency | AI workload operation latency | Dynamic change detection |
| 3 | aiworkload_throughput | AI workload operation throughput | Dynamic change detection |
| 4 | aiworkload_input_tokens | Input tokens by service/pod | Dynamic change detection |
| 5 | aiworkload_output_tokens | Output tokens by service/pod | Dynamic change detection |
| 6 | model_time_to_first_token_ttft | Model time to first token | Dynamic change detection |
| 7 | model_inter_token_latency_itl | Model inter-token latency | Dynamic change detection |
| 8 | model_end_to_end_latency | Model request duration | Dynamic change detection |
| 9 | model_request_throughput | Successful model requests | Dynamic change detection |
| 10 | model_input_token_rate | Model input-token rate | Dynamic change detection |
| 11 | model_output_token_rate | Model output-token rate | Dynamic change detection |
| 12 | model_input_tokens_total | Model input-token total | Dynamic change detection |
| 13 | model_output_tokens_total | Model output-token total | Dynamic change detection |
| 14 | gpu_nvlink_bandwidth | GPU NVLink bandwidth | Dynamic change detection |
| 15 | gpu_power_usage | GPU power draw | Dynamic change detection |
| 16 | gpu_energy_consumption | GPU energy consumption | Dynamic change detection |
Understanding the sample alert definitions
The sample alert definitions use the following settings:
- Warning: Triggered when a metric goes more than 2 standard deviations above or below its average.
- Critical: Triggered when a metric goes more than 3 standard deviations above or below its average.
- Persist duration: The condition must continue for 5 minutes before the alert is triggered.
- Learning period: The system uses 1 hour of data to learn the metric’s normal behavior.
Resource identification
Each definition identifies the resource differently:
| Definition | How the resource is identified |
|---|---|
| Model | Uses the Kubernetes pod to identify the model resource. |
| GPU | Uses the GPU UUID to identify the GPU resource. |
| AI Workload | Identifies the service and maps the resource name to the Kubernetes pod. |
Important considerations
- Metric names and expressions depend on the telemetry available in your environment.
- Workload and GPU definitions use specific AI workload and DCGM metrics.
- Model definitions include metric series for NVIDIA Dynamo and vLLM.
- Use a definition only when its source metrics, labels, and resource attributes are available and match your deployment.
- KV-cache, network, and RDMA alerts require their corresponding metrics and may need separate alert definitions.
Note
The thresholds, 5-minute persist duration, and 1-hour learning period are values from the supplied examples. They are not universal recommendations. Adjust them based on your environment and monitoring requirements.Create and validate a definition
If +ADD is not shown in Alert Definitions (Metric Based), the feature may not be enabled for your client; ask your account administrator or OpsRamp to enable it.
- Open Setup > Account > Monitoring > Alert Definitions (Metric Based).
- Select a metric that is present for the intended resource and environment.
- Scope the definition with the appropriate resource type, labels, and filters.
- Set a threshold and evaluation duration based on observed baseline behavior and the action the alert should prompt. For dynamic change detection, confirm that the learning window represents a normal workload.
- Save the definition and verify that it evaluates against the expected resources.
- Review resulting alerts in the AI Observability application, model, compute, or network views.
Interpreting alerts
Use the alert time and resource to select a matching dashboard interval, then compare the triggering metric with related traces, logs, and signals across layers. A threshold breach identifies a condition to investigate; it does not by itself establish the cause of an application symptom.
Definitions and alerts require the underlying metric to be collected, the definition to match the resource and labels, and the user to have appropriate access. An absent alert is not evidence that the metric is healthy or that the condition did not occur.