Struct SYN_Metric¶
Metric descriptor and storage. More...
#include <syn_metrics.h>
Public Attributes¶
| Type | Name |
|---|---|
| const char * | help |
| const char * | name |
| struct SYN_Metric * | next |
| bool | registered |
| SYN_MetricType | type |
| SYN_MetricVal | val |
Detailed Description¶
Metrics are typically declared statically and registered in the global registry. They are designed to be zero-heap and bare-metal friendly.
Public Attributes Documentation¶
variable help¶
Human-readable description
variable name¶
Unique name (e.g., "wg_tx_bytes")
variable next¶
Next in global registry list
variable registered¶
True if in global registry
variable type¶
Counter or Gauge
variable val¶
Current value
The documentation for this class was generated from the following file src/syntropic/util/syn_metrics.h