PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::monitoring::association_metric Struct Reference

Standard metric structure for association data. More...

#include <dicom_association_collector.h>

Collaboration diagram for kcenon::pacs::monitoring::association_metric:
Collaboration graph

Public Member Functions

 association_metric (std::string n, double v, std::string t, std::unordered_map< std::string, std::string > l={})
 

Public Attributes

std::string name
 
double value
 
std::string type
 
std::chrono::system_clock::time_point timestamp
 
std::unordered_map< std::string, std::string > labels
 

Detailed Description

Standard metric structure for association data.

Definition at line 36 of file dicom_association_collector.h.

Constructor & Destructor Documentation

◆ association_metric()

kcenon::pacs::monitoring::association_metric::association_metric ( std::string n,
double v,
std::string t,
std::unordered_map< std::string, std::string > l = {} )
inline

Definition at line 43 of file dicom_association_collector.h.

46 {})
47 : name(std::move(n))
48 , value(v)
49 , type(std::move(t))
50 , timestamp(std::chrono::system_clock::now())
51 , labels(std::move(l)) {}
@ move
C-MOVE move request/response.
std::unordered_map< std::string, std::string > labels
std::chrono::system_clock::time_point timestamp

Member Data Documentation

◆ labels

std::unordered_map<std::string, std::string> kcenon::pacs::monitoring::association_metric::labels

Definition at line 41 of file dicom_association_collector.h.

◆ name

std::string kcenon::pacs::monitoring::association_metric::name

Definition at line 37 of file dicom_association_collector.h.

◆ timestamp

std::chrono::system_clock::time_point kcenon::pacs::monitoring::association_metric::timestamp

Definition at line 40 of file dicom_association_collector.h.

◆ type

std::string kcenon::pacs::monitoring::association_metric::type

Definition at line 39 of file dicom_association_collector.h.

◆ value

double kcenon::pacs::monitoring::association_metric::value

Definition at line 38 of file dicom_association_collector.h.


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