Interface Perception
access this type via: pal.Perception (provides, requires or uses)
Accepts perception data from components and returns all perception data recorded so far.
Functions
void addMetric(char name[], int value, bool preferHigh)
void addEvent(char name[], int value)
PerceptionData getPerception()
void addMetric(char name[], int value, bool preferHigh)
Records a metric with a given name. Metrics are used to understand the current wellbeing of a component.
void addEvent(char name[], int value)
Records an event with a given name. Events are used to understand the deployment environment of a component.
PerceptionData getPerception()
Returns all perception data recorded since the last time this function was called.