Definition at line 72 of file metrics.h.
◆ _canary
int32_t ecs_metric_desc_t::_canary |
◆ brief
const char* ecs_metric_desc_t::brief |
Description of metric.
Will only be set if FLECS_DOC addon is enabled
Definition at line 101 of file metrics.h.
◆ dotmember
const char* ecs_metric_desc_t::dotmember |
◆ entity
Entity associated with metric.
Definition at line 76 of file metrics.h.
◆ id
Tracks whether entities have the specified component id.
Must not be set at the same time as member.
Definition at line 89 of file metrics.h.
◆ kind
Must be EcsGauge, EcsCounter, EcsCounterIncrement or EcsCounterId.
Definition at line 98 of file metrics.h.
◆ member
Entity associated with member that stores metric value.
Must not be set at the same time as id. Cannot be combined with EcsCounterId.
Definition at line 80 of file metrics.h.
◆ targets
bool ecs_metric_desc_t::targets |
If id is a (R, *) wildcard and relationship R has the OneOf property, setting this value to true will track individual targets.
If the kind is EcsCountId and the id is a (R, *) wildcard, this value will create a metric per target.
Definition at line 95 of file metrics.h.
The documentation for this struct was generated from the following file: