> This page is for Remediation Orchestrator.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/remediation-orchestrator/llms.txt.

# metrics

**Experimental.** For evaluation. Interfaces, configuration, and behavior may change incompatibly.

Records workflow metrics through the shared telemetry pipeline.

### Prerequisites

* None.

### Setup

* Loads automatically; no configuration needed.

This module provides utilities for recording workflow metrics.

## Members

* [define_float_histogram](#define_float_histogram)
* [define_int_counter](#define_int_counter)
* [define_int_gauge](#define_int_gauge)
* [increment_int_counter](#increment_int_counter)
* [record_float_histogram](#record_float_histogram)
* [set_int_gauge](#set_int_gauge)

## define_float_histogram

Defines a new float histogram metric.

The name of the metric.

The description of the metric.

The boundaries of the histogram.

## define_int_counter

Defines a new integer counter metric.

The name of the metric.

The description of the metric.

## define_int_gauge

Defines a new integer gauge metric.

The name of the metric.

The description of the metric.

## increment_int_counter

Increments an integer counter metric.

The name of the metric.

The value to increment the metric by.

A dict of attribute key-value pairs.

The count value of the metric.

## record_float_histogram

Records a value in a float histogram metric.

The name of the metric.

The value to record.

A dict of attribute key-value pairs.

The recorded value.

## set_int_gauge

Sets the value of an integer gauge metric.

The name of the metric.

The value to set.

A dict of attribute key-value pairs.

The value of the metric.