cleanup and sort metrics
This commit is contained in:
@ -6,10 +6,20 @@
|
||||
#define METRIC_NAME_MAX_SIZE 256U
|
||||
#define METRIC_MAX_COUNT 64U
|
||||
|
||||
typedef enum _MetricValueType
|
||||
{
|
||||
FLOAT,
|
||||
INTEGER_U8,
|
||||
INTEGER_64,
|
||||
} eMetricValueType;
|
||||
|
||||
typedef struct _metric
|
||||
{
|
||||
char caMetricName[METRIC_NAME_MAX_SIZE];
|
||||
eMetricValueType type;
|
||||
float fMetricValue;
|
||||
uint8_t u8MetricValue;
|
||||
int64_t i64MetricValue;
|
||||
} sMetric;
|
||||
|
||||
void initMetrics(void);
|
||||
|
Reference in New Issue
Block a user