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