prom 0.1.0
Client-independent C++23 Prometheus/OpenMetrics metric abstraction
Loading...
Searching...
No Matches
Public Attributes | List of all members
prom::NormalizedValue Struct Reference

A plain magnitude paired with the unit it was carrying (empty for raw arithmetic). More...

#include <dimval.hpp>

Collaboration diagram for prom::NormalizedValue:
Collaboration graph
[legend]

Public Attributes

double value = 0.0
 
Unit unit {}
 

Detailed Description

A plain magnitude paired with the unit it was carrying (empty for raw arithmetic).

This is the common currency every metric mutation speaks.

Member Data Documentation

◆ unit

Unit prom::NormalizedValue::unit {}

◆ value

double prom::NormalizedValue::value = 0.0

The documentation for this struct was generated from the following file: