cph-cachet/carp.sensing-flutter

Unnecessary warning on probes missing

Opened this issue · 0 comments

We get the following warnings

[log] [CAMS WARNING] A probe for measure type 'dk.cachet.carp.heartbeat' could not be created. This may be because this probe is not available on the operating system of this phone (primary device) or on the connected device. Or it may be because the sampling package containing this probe has not been registered in the SamplingPackageRegistry.
[log] [CAMS WARNING] A probe for measure type 'dk.cachet.carp.error' could not be created. This may be because this probe is not available on the operating system of this phone (primary device) or on the connected device. Or it may be because the sampling package containing this probe has not been registered in the SamplingPackageRegistry.
[log] [CAMS WARNING] A probe for measure type 'dk.cachet.carp.triggeredtask' could not be created. This may be because this probe is not available on the operating system of this phone (primary device) or on the connected device. Or it may be because the sampling package containing this probe has not been registered in the SamplingPackageRegistry.
[log] [CAMS WARNING] A probe for measure type 'dk.cachet.carp.completedtask' could not be created. This may be because this probe is not available on the operating system of this phone (primary device) or on the connected device. Or it may be because the sampling package containing this probe has not been registered in the SamplingPackageRegistry.

since these measures are always part of a CAMS protocol, but do not have a sampling package or probes:

  • heartbeat
  • error
  • triggeredtask
  • completedtask

This is a bit unnecessary and may confuse a programmer using CAMS. So - should probably be handled / removed.