This document is relevant for: Trn2, Trn3

Reference: Neuron Observer metrics and faults#

Use this page to look up what Neuron Observer reports about your devices: device health states, fault components, and the default metric names with their meanings, units, and kinds. Deprecated metrics and the naming and export conventions are at the end of the page.

Overview#

Neuron Observer exposes the same metric series through the native Prometheus /metrics endpoint on the daemon’s API port and through OpenTelemetry Protocol (OTLP) push to a collector. Unless a row identifies a specific aggregation, the tables use fully qualified base metric names with their neuron scope prefixes and omit aggregation suffixes.

Fault taxonomy#

Fault signals identify issues that may affect the health and reliability of Neuron devices. They help you understand what went wrong and which components are affected.

Device health#

Neuron Observer reports a health state for each device. The state is visible through GET /api/v1/devices, GET /api/v1/node/snapshot, and nobs devices.

State

Meaning

healthy

No health-impacting faults have been detected by Observer. The device is considered healthy and available for workloads.

unhealthy

Observer has detected one or more faults affecting device health. Review the fault details to determine the appropriate next steps. The device’s diagnosis gives the recovery action for each finding (see Device diagnosis). GET /api/v1/devices, GET /api/v1/node/snapshot, and nobs devices list the fault components as unhealthy_components.

unknown

Observer does not have sufficient health information to determine whether the device is healthy or unhealthy. This may occur when required device health signals are unavailable or cannot be read.

The daemon emits four info-style gauges for per-device health. The last two report the device’s diagnosis (see Device diagnosis):

Observer metric name

Kind

Description

neuron.device_health

gauge

Deprecated; use neuron.device_health_state. One row per device with a state attribute (healthy or unhealthy), value 1. Devices whose state is unknown and devices on drivers that do not report health emit no row.

neuron.device_unhealthy_component

gauge

One row per failing component on each device, value 1, with a component attribute. Healthy and unknown devices emit no row.

neuron.device_health_state

gauge

One row per device, value 1, with a health_state attribute (healthy, unhealthy, or unknown). Devices on drivers that don’t report health status emit no row.

neuron.device_finding

gauge

One row per finding on each device, value 1, with finding and recovery_action attributes. Devices with no findings emit no row.

Fault components#

When a device is unhealthy, Observer names the failing components.

Category

Component

Meaning

Hardware

hbm

Uncorrectable HBM (device memory) error.

Hardware

sram

Uncorrectable SRAM error.

Hardware

fabric_error

Device fabric error.

Hardware

dma_abort

DMA abort error.

Firmware

firmware_service_api

The firmware event handler is not in a valid state. Neuron requests to the firmware fail.

Firmware

firmware_service_processor

The service processor used by the firmware is hung or in reset. Throttling and other firmware-managed functions may not work.

Link and topology

link_host

Host (PCIe) link performance is impaired.

Link and topology

link_intraserver

One or more peer links to other devices in the same instance are impaired.

Link and topology

link_interserver

One or more UltraServer links to devices in other instances are impaired.

Link and topology

link_switch

One or more switch links are impaired.

Link and topology

link_efa

The EFA link is impaired.

Device availability

device_unreachable

The device does not respond to health reads.

Device availability

healthcheck_heartbeat_stalled

The device firmware heartbeat has not advanced for longer than the configured timeout (collection.health_heartbeat_timeout_secs, default 40 seconds). Observer clears the component when the heartbeat advances.

Observer can report component values that are not listed here.

Supporting metrics#

Supporting metrics provide additional telemetry about device operation, hardware errors, resource utilization, and performance. These metrics help you monitor device behavior, investigate faults, and troubleshoot issues, but do not necessarily indicate that a device is unhealthy or requires recovery.

Hardware error counters#

Hardware ECC counters (device)#

Observer metric name

Kind

Unit

Meaning

neuron.device.mem_ecc_corrected

counter

errors

Corrected device memory (HBM) ECC errors.

neuron.device.mem_ecc_corrected_delta

gauge

errors

New corrected device memory ECC errors since the previous collection cycle.

neuron.device.mem_ecc_unrepairable_uncorrected

counter

errors

Uncorrected device memory ECC errors that cannot be repaired.

neuron.device.mem_ecc_repairable_uncorrected

counter

errors

Uncorrected device memory ECC errors that can be repaired.

neuron.device.sram_ecc_corrected

counter

errors

Corrected SRAM ECC errors.

neuron.device.sram_ecc_corrected_delta

gauge

errors

New corrected SRAM ECC errors since the previous collection cycle.

The counters are cumulative. The *_corrected_delta gauges report new corrected errors since the previous collection cycle. Observer does not emit a delta on the first collection cycle or when the counter cannot be read.

NeuronCore resets#

Reset request and failure metrics are cumulative counters.

Observer metric name

Unit

Meaning

neuron.core.reset_req_count

resets

NeuronCore reset requests.

neuron.core.reset_fail_count

resets

Failed NeuronCore reset attempts.

Memory#

Host memory (device)#

Each gauge reports current per-device host-memory use by category.

Observer metric name

Unit

Meaning

neuron.device.host_mem_dma_buffers

bytes

Host memory used for DMA buffers.

neuron.device.host_mem_tensors

bytes

Host memory used for tensors.

neuron.device.host_mem_constants

bytes

Host memory used for constants.

neuron.device.host_mem_application_memory

bytes

Host memory used by the application.

neuron.device.host_mem_driver_memory

bytes

Host memory used by the driver.

neuron.device.host_mem_notifications

bytes

Host memory used for notifications.

neuron.device.host_mem_dma_rings

bytes

Host memory used for DMA rings.

neuron.device.host_mem_uncategorized

bytes

Host memory not attributed to another category.

Device memory (core)#

Each gauge reports current per-NeuronCore device-memory use by category.

Observer metric name

Unit

Meaning

neuron.core.device_mem_model_code

bytes

Device memory used for model code.

neuron.core.device_mem_tensors

bytes

Device memory used for tensors.

neuron.core.device_mem_constants

bytes

Device memory used for constants.

neuron.core.device_mem_model_shared_scratchpad

bytes

Device memory used for the scratchpad shared between models.

neuron.core.device_mem_nonshared_scratchpad

bytes

Device memory used for per-model scratchpads.

neuron.core.device_mem_runtime_memory

bytes

Device memory used by the runtime.

neuron.core.device_mem_driver_memory

bytes

Device memory used by the driver.

neuron.core.device_mem_collectives

bytes

Device memory used for collective communication.

neuron.core.device_mem_notifications

bytes

Device memory used for notifications.

neuron.core.device_mem_dma_rings

bytes

Device memory used for DMA rings.

neuron.core.device_mem_uncategorized

bytes

Device memory not attributed to another category.

Runtime and derived memory metrics#

Runtime-attributed metrics carry the runtime_tag attribute. The default value is the process ID unless the workload sets NEURON_PROCESS_TAG.

Observer metric name

Unit

Meaning

neuron.device.mem_usage_code_host

bytes

Host code memory reported by the runtime.

neuron.device.mem_usage_tensors_host

bytes

Host tensor memory reported by the runtime.

neuron.device.mem_usage_constants_host

bytes

Host constant memory reported by the runtime.

neuron.device.mem_usage_scratchpad_host

bytes

Host scratchpad memory reported by the runtime.

neuron.device.mem_usage_misc_host

bytes

Other host memory reported by the runtime.

neuron.device.mem_usage_total_host

bytes

Sum of the five runtime host-memory categories, per device attachment.

neuron.core.mem_usage_total_device

bytes

Sum of the runtime device-memory categories on one NeuronCore.

neuron.device.process_rss

bytes

Resident memory of the runtime process.

neuron.device.device_memory_capacity

bytes

Static device capacity by architecture: V3 is 96 GiB and V4 is 144 GiB. This metric does not carry runtime_tag.

Utilization#

NeuronCore activity#

Observer metric name

Kind

Unit

Meaning

neuron.core.utilization

gauge

—

Per-NeuronCore utilization ratio, calculated as delta(time_in_use) / elapsed_wall_clock. Observer requires two collection cycles. The default configuration exports core aggregations as neuron.core.utilization.{strategy} and node aggregations as neuron.core.utilization_system.{strategy}.

neuron.core.effective_flops

gauge

—

Floating-point operations per second, calculated as delta(flop_count) / elapsed_seconds. Observer requires two collection cycles.

neuron.core.time_in_use

gauge

s

Total NeuronCore use time.

neuron.core.flop_count

counter

operations

Cumulative floating-point operations.

neuron.core.model_load_count

gauge

model_loads

Increment-only model load count for one NeuronCore. The default export sums the values across the node. The Observer schema classifies this metric as a gauge.

neuron.core.loaded_model_count

gauge

models

Model subgraphs currently placed on one NeuronCore, from the runtime model store. The default export sums the values across the node. The metric is 0 when no model is loaded.

Inference and latency#

Inference counters (core)#

Inference counters are cumulative for each core. The default export configuration publishes neuron.core.infer_completed.avg as a gauge.

Observer metric name

Unit

Meaning

neuron.core.infer_completed

inferences

Successful inferences.

neuron.core.inference_count

inferences

Total inferences.

Latency (core, per process)#

All latency metrics in this section are gauges in seconds. Per-process metrics carry runtime_tag. Observer samples the runtime latency stream and calculates p0, p1, p25, p50, p75, p99, and p100. Idle collection windows report 0.

Observer metric name or pattern

Unit

Meaning

neuron.core.latency_device

s

Latest device-side inference latency from the runtime latency stream.

neuron.core.latency_total

s

Latest total inference latency from the runtime latency stream.

neuron.core.latency_device_p{0,1,25,50,75,99,100}

s

Device-side latency percentiles for one runtime on one NeuronCore.

neuron.core.latency_total_p{0,1,25,50,75,99,100}

s

Total latency percentiles for one runtime on one NeuronCore.

neuron.core.latency_device_system.{avg,p50,p99}

s

Node-level aggregations of latency_device.

neuron.core.latency_total_system.{avg,p50,p99}

s

Node-level aggregations of latency_total.

neuron.core.nc_time.sum

s

NeuronCore execution time, summed across the node.

neuron.core.cc_time.sum

s

Collective communication time, summed across the node.

EFA network counters#

Neuron Observer exports EFA network counters at the efa scope, with one data point for each interface. Each data point carries efa_device and efa_port. Counters are cumulative since instance launch or the last driver reset. Calculate rates from the raw values.

Observer metric name

Unit

Meaning

neuron.efa.tx_bytes

bytes

Bytes transmitted.

neuron.efa.rx_bytes

bytes

Bytes received.

neuron.efa.tx_pkts

packets

Packets transmitted.

neuron.efa.rx_pkts

packets

Packets received.

neuron.efa.rx_drops

packets

Received packets dropped.

neuron.efa.send_bytes

bytes

Bytes sent by send operations.

neuron.efa.recv_bytes

bytes

Bytes received by receive operations.

neuron.efa.send_wrs

operations

Send work requests.

neuron.efa.recv_wrs

operations

Receive work requests.

neuron.efa.rdma_write_wrs

operations

RDMA write work requests.

neuron.efa.rdma_read_wrs

operations

RDMA read work requests.

neuron.efa.rdma_write_bytes

bytes

Bytes written by RDMA write operations.

neuron.efa.rdma_read_bytes

bytes

Bytes read by RDMA read operations.

neuron.efa.rdma_write_wr_err

errors

RDMA write work requests that failed.

neuron.efa.rdma_read_wr_err

errors

RDMA read work requests that failed.

neuron.efa.rdma_read_resp_bytes

bytes

Bytes received in RDMA read responses.

neuron.efa.rdma_write_recv_bytes

bytes

Bytes received by RDMA write operations.

neuron.efa.retrans_bytes

bytes

Bytes retransmitted (Nitro v4+).

neuron.efa.retrans_pkts

packets

Packets retransmitted (Nitro v4+).

neuron.efa.retrans_timeout_events

events

Retransmission timeout events (Nitro v4+).

neuron.efa.impaired_remote_conn_events

events

Impaired remote connection events (Nitro v4+).

neuron.efa.unresponsive_remote_events

events

Unresponsive remote peer events (Nitro v4+).

Note

The SRD retransmit counters (retrans_*, impaired_remote_conn_events, unresponsive_remote_events) exist only on Nitro v4+ instances; on older instances, they are absent rather than reported as 0.

System and instance metrics#

Observer reports host memory and CPU data and calculates device and core counts from the devices discovered on the node. The default configuration exports the gauges as neuron.system.*.

Observer metric name

Unit

Meaning

neuron.system.memory_total_bytes

bytes

Total host memory.

neuron.system.memory_used_bytes

bytes

Host memory in use.

neuron.system.swap_total_bytes

bytes

Total swap space.

neuron.system.swap_used_bytes

bytes

Swap space in use.

neuron.system.cpu_average_usage

percent

Change in busy CPU time divided by the change in total CPU time between collection cycles. Observer emits no value on the first collection cycle.

neuron.system.context_switch_count

—

Context switches since the previous collection cycle. Observer emits no value on the first collection cycle.

neuron.system.vcpu_count

—

Number of vCPUs.

neuron.system.neuron_device_count

—

Number of Neuron devices discovered on the node.

neuron.system.physical_neuroncore_count

—

Number of physical NeuronCores across the discovered devices.

neuron.system.logical_neuroncore_count

—

Number of logical NeuronCores, calculated from the physical count and LNC configuration.

Metadata gauges#

The default configuration exports the metadata gauges with value 1. Backends join their attributes to metric data by instance_id.

Observer metric name

Attributes

neuron.system_info

Instance name and type, Region, Availability Zone, subnet, AMI, and UltraServer information, as set under info_metrics.system_info.

neuron.device_info

Device and core architecture, device name, physical and logical NeuronCore counts, serial number, driver version, connected devices, and LNC configuration, as set under info_metrics.device_info. Observer emits one row for each device.

Per-vCPU and per-process CPU utilization#

Per-process CPU usage is reported for each process attached to a device. Observer divides the change in process CPU ticks by the change in total CPU ticks. The default export sums values across the node while retaining runtime_tag. Observer emits 0 for a process on its first collection cycle.

Observer metric name

Unit

Meaning

neuron.device.vcpu_usage_user

percent

User-mode process time as a percentage of total CPU time.

neuron.device.vcpu_usage_system

percent

Kernel-mode process time as a percentage of total CPU time.

Per-vCPU utilization is calculated from changes between collection cycles. The default configuration exports an average across all vCPUs and does not export one data point for each vCPU. Observer emits no value on the first collection cycle or for an offline vCPU.

Observer metric name

Unit

Meaning

neuron.vcpu.vcpu_user_percent

percent

CPU time spent in user mode, excluding niced processes.

neuron.vcpu.vcpu_nice_percent

percent

CPU time spent in user mode by processes that have an adjusted nice value.

neuron.vcpu.vcpu_system_percent

percent

CPU time spent in kernel mode.

neuron.vcpu.vcpu_idle_percent

percent

CPU idle time.

neuron.vcpu.vcpu_iowait_percent

percent

CPU time spent waiting for I/O.

neuron.vcpu.vcpu_irq_percent

percent

CPU time spent servicing hardware interrupts.

neuron.vcpu.vcpu_softirq_percent

percent

CPU time spent servicing software interrupts.

Deprecated metrics#

Deprecated metrics are on a deprecation path and are not recommended for use, except for compatibility reasons. Avoid relying on these metrics for new monitoring or alerting integrations, and migrate to the recommended replacements where available. The per-core counters are cumulative and summed across the node by the default export configuration.

Observer metric name

Meaning

Replacement

neuron.core.infer_completed_with_err

Inferences that completed with an error.

—

neuron.core.infer_completed_with_num_err

Inferences that completed with a numerical error.

—

neuron.core.infer_timed_out

Inference timeouts.

—

neuron.core.infer_incorrect_input

Inferences rejected because of incorrect input.

—

neuron.core.infer_failed_to_queue

Inferences that failed to enter the execution queue.

—

neuron.core.err_generic

Generic errors.

—

neuron.core.err_numerical

Numerical-error series. Current runtimes do not write this value, so Observer exports 0.

—

neuron.core.err_model

Model-error series. Current runtimes do not write this value, so Observer exports 0.

—

neuron.core.err_transient

Transient-error series. Current runtimes do not write this value, so Observer exports 0.

—

neuron.core.err_hw

Hardware errors.

—

neuron.core.err_rt

Runtime-error series. Current runtimes do not write this value, so Observer exports 0.

—

neuron.core.generic_fail

Generic failures.

—

neuron.core.err_resource

Resource errors.

—

neuron.core.err_resource_nc

NeuronCore resource errors.

—

neuron.core.err_invalid

Invalid operation errors.

—

neuron.core.err_unsupported_neff_version

Unsupported NEFF version errors.

—

neuron.core.hw_err_collectives

Collective communication hardware errors.

—

neuron.core.hw_err_hbm_ue

Uncorrectable HBM errors.

neuron.device_unhealthy_component with component="hbm"

neuron.core.hw_err_nc_ue

Uncorrectable NeuronCore errors.

neuron.device_unhealthy_component with component="sram"

neuron.core.hw_err_dma_abort

DMA abort errors.

—

neuron.core.hw_err_repairable_hbm_ue

Repairable uncorrectable HBM errors.

neuron.device.mem_ecc_repairable_uncorrected

neuron.core.err_sw_nq_overflow

Notification queue overflows.

—

neuron.core.err_sw_semaphore_error

Semaphore errors.

—

neuron.core.err_sw_event_error

Event errors.

—

neuron.core.err_sw_psum_collision

Partial-sum collisions.

—

neuron.core.err_sw_sequencer_fatal

Fatal sequencer errors.

—

neuron.device.mem_ecc_uncorrected

Uncorrected memory ECC errors; the sum of unrepairable and repairable.

neuron.device.mem_ecc_unrepairable_uncorrected + neuron.device.mem_ecc_repairable_uncorrected

neuron.device.sram_ecc_uncorrected

Uncorrected SRAM ECC errors.

neuron.device_unhealthy_component with component="sram"

neuron.device_health

Per-device health state (healthy or unhealthy) from the deprecated health field.

neuron.device_health_state

Metric naming and export conventions#

The tables use fully qualified base names such as neuron.device.mem_ecc_uncorrected. The default export configuration appends an aggregation suffix when it aggregates a metric.

Exported OpenTelemetry metrics use neuron.{scope}.{name} for native exports and neuron.{scope}.{name}.{strategy} for aggregated exports:

  • {scope} identifies the source: device, core, vcpu, efa, or system.

  • {name} is the metric name.

  • {strategy} is the aggregation applied (for example, avg, sum, or p99).

The default export configuration uses these suffixes:

  • Most aggregated device- and core-scoped metrics use sum.

  • infer_completed also uses avg.

  • utilization and time_in_use use sum, avg, and max.

  • Node-level latency aggregations use avg, p50, and p99.

  • Per-vCPU percentage metrics use avg.

  • Native system and EFA metrics, per-process latency percentiles, and device-health gauges have no aggregation suffix.

Device-health gauges use neuron.{name}.

The /metrics endpoint renders the same series under the Prometheus data model: characters outside [a-zA-Z0-9_:] become _ (so . becomes _), a real unit becomes a name suffix (By becomes _bytes, s becomes _seconds, % becomes _percent), and counters get a trailing _total. For example, neuron.device.mem_ecc_uncorrected.sum renders as neuron_device_mem_ecc_uncorrected_sum_total.

Metric attributes depend on the configured export scope. Device-scoped metrics use neuron_device_index; core-scoped metrics use neuron_device_index and neuroncore. Process-attributed metrics carry a runtime_tag attribute (the value of the workload’s NEURON_PROCESS_TAG, defaulting to the PID). Every data point carries instance_id.

Learn more#

This document is relevant for: Trn2, Trn3