Sensor¶
Creating Instance¶
Sensor takes the following to be created:
- Metrics
- Name
- Parent
Sensors - MetricConfig
-
Time -
inactiveSensorExpirationTimeSeconds -
RecordingLevel
Sensor is created when:
Metricsis requested for a sensor
shouldRecord¶
boolean shouldRecord()
shouldRecord requests the RecordingLevel to shouldRecord based on the configured RecordingLevel (in the MetricConfig).