AnyCollect  1.1.2
AnyCollect::Config::expression::metric Struct Reference

#include <Config.h>

Collaboration diagram for AnyCollect::Config::expression::metric:

Public Types

using nameType = std::vector< std::string >
 
using valueType = std::string
 
using unitType = std::string
 
using tagsType = std::map< std::string, std::string >
 
using computeRateType = bool
 
using convertToUnitsPerSecondType = bool
 

Public Attributes

nameType name
 
valueType value
 
unitType unit
 
tagsType tags
 
computeRateType computeRate
 
convertToUnitsPerSecondType convertToUnitsPerSecond
 

Static Public Attributes

static constexpr std::string_view nameKey = "Name"sv
 
static constexpr std::string_view valueKey = "Value"sv
 
static constexpr std::string_view unitKey = "Unit"sv
 
static constexpr std::string_view tagsKey = "Tags"sv
 
static constexpr std::string_view computeRateKey = "ComputeRate"sv
 
static constexpr std::string_view convertToUnitsPerSecondKey = "ConvertToUnitsPerSecond"sv
 

Detailed Description

Definition at line 37 of file Config.h.

Member Typedef Documentation

◆ computeRateType

Definition at line 47 of file Config.h.

◆ convertToUnitsPerSecondType

◆ nameType

using AnyCollect::Config::expression::metric::nameType = std::vector<std::string>

Definition at line 39 of file Config.h.

◆ tagsType

using AnyCollect::Config::expression::metric::tagsType = std::map<std::string, std::string>

Definition at line 45 of file Config.h.

◆ unitType

Definition at line 43 of file Config.h.

◆ valueType

Definition at line 41 of file Config.h.

Member Data Documentation

◆ computeRate

computeRateType AnyCollect::Config::expression::metric::computeRate

Definition at line 55 of file Config.h.

◆ computeRateKey

constexpr std::string_view AnyCollect::Config::expression::metric::computeRateKey = "ComputeRate"sv
static

Definition at line 46 of file Config.h.

◆ convertToUnitsPerSecond

convertToUnitsPerSecondType AnyCollect::Config::expression::metric::convertToUnitsPerSecond

Definition at line 56 of file Config.h.

◆ convertToUnitsPerSecondKey

constexpr std::string_view AnyCollect::Config::expression::metric::convertToUnitsPerSecondKey = "ConvertToUnitsPerSecond"sv
static

Definition at line 48 of file Config.h.

◆ name

nameType AnyCollect::Config::expression::metric::name

Definition at line 51 of file Config.h.

◆ nameKey

constexpr std::string_view AnyCollect::Config::expression::metric::nameKey = "Name"sv
static

Definition at line 38 of file Config.h.

◆ tags

tagsType AnyCollect::Config::expression::metric::tags

Definition at line 54 of file Config.h.

◆ tagsKey

constexpr std::string_view AnyCollect::Config::expression::metric::tagsKey = "Tags"sv
static

Definition at line 44 of file Config.h.

◆ unit

unitType AnyCollect::Config::expression::metric::unit

Definition at line 53 of file Config.h.

◆ unitKey

constexpr std::string_view AnyCollect::Config::expression::metric::unitKey = "Unit"sv
static

Definition at line 42 of file Config.h.

◆ value

valueType AnyCollect::Config::expression::metric::value

Definition at line 52 of file Config.h.

◆ valueKey

constexpr std::string_view AnyCollect::Config::expression::metric::valueKey = "Value"sv
static

Definition at line 40 of file Config.h.


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