debug property

SamplingSchema debug
override

A debugging sampling schema for all measures in this package. Typically provides very detailed and frequent sampling in order to debug the probes.

Implementation

SamplingSchema get debug => common
  ..type = SamplingSchemaType.debug
  ..name = 'Debugging communication sampling schema'
  ..powerAware = false
  ..measures[PHONE_LOG] =
      MarkedMeasure(type: PHONE_LOG, history: Duration(days: 1))
  ..measures[TEXT_MESSAGE_LOG] = CAMSMeasure(type: TEXT_MESSAGE_LOG)
  ..measures[CALENDAR] = CalendarMeasure(
    type: CALENDAR,
    past: Duration(days: 1),
    future: Duration(days: 1),
  );