Skip to content

Sensor

Creating Instance

Sensor takes the following to be created:

  • Metrics
  • Name
  • Parent Sensors
  • 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).