Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::metric_metadata Struct Reference

Compact metadata for metrics. More...

#include <metric_types.h>

Collaboration diagram for kcenon::monitoring::metric_metadata:
Collaboration graph

Public Member Functions

 metric_metadata () noexcept
 
 metric_metadata (uint32_t hash, metric_type mt, uint8_t tags=0) noexcept
 

Public Attributes

uint32_t name_hash
 
metric_type type
 
uint8_t tag_count
 
uint16_t reserved
 

Detailed Description

Compact metadata for metrics.

Definition at line 78 of file metric_types.h.

Constructor & Destructor Documentation

◆ metric_metadata() [1/2]

kcenon::monitoring::metric_metadata::metric_metadata ( )
inlinenoexcept

◆ metric_metadata() [2/2]

kcenon::monitoring::metric_metadata::metric_metadata ( uint32_t hash,
metric_type mt,
uint8_t tags = 0 )
inlinenoexcept

Definition at line 87 of file metric_types.h.

88 : name_hash(hash), type(mt), tag_count(tags), reserved(0) {}

Member Data Documentation

◆ name_hash

uint32_t kcenon::monitoring::metric_metadata::name_hash

Definition at line 79 of file metric_types.h.

◆ reserved

uint16_t kcenon::monitoring::metric_metadata::reserved

Definition at line 82 of file metric_types.h.

◆ tag_count

uint8_t kcenon::monitoring::metric_metadata::tag_count

Definition at line 81 of file metric_types.h.

◆ type

metric_type kcenon::monitoring::metric_metadata::type

Definition at line 80 of file metric_types.h.


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