common method

SamplingSchema common()

A default common sampling schema.

This schema contains measure configurations based on best-effort experience and is intended for sampling on a daily basis with recharging at least once pr. day. This scheme is power-aware.

These default settings are described in this table.

Implementation

SamplingSchema common() {
  SamplingSchema schema = SamplingSchema()
    ..type = SamplingSchemaType.common
    ..name = 'Common (default) sampling'
    ..powerAware = true;

  // join sampling schemas from each registered sampling package.
  packages.forEach((package) => schema.addSamplingSchema(package.common));

  return schema;
}