gatherTelemetry

abstract fun gatherTelemetry(): String

Collect and return telemetry about incoming and outgoing device commands.

Applications that have registered one or more `DeviceCapability`s should also arrange to submit "sync ping" telemetry. Calling this method will return a JSON string of telemetry data that can be incorporated into that ping.

Sorry, this is not particularly carefully documented because it is intended as a stop-gap until we get native Glean support. If you know how to submit a sync ping, you'll know what to do with the contents of the JSON string.