Part of the monitoring SPI which allows attaching metadata to outbound remote messages,
and reading in metadata from incoming messages.
Multiple instruments are automatically handled, however they MUST NOT overlap in their idenfitiers.
Instances of RemoteInstrument are created from configuration. A new instance of RemoteInstrument
will be created for each encoder and decoder. It's only called from the operator, so if it doesn't
delegate to any shared instance it doesn't have to be thread-safe.
INTERNAL API
Part of the monitoring SPI which allows attaching metadata to outbound remote messages, and reading in metadata from incoming messages.
Multiple instruments are automatically handled, however they MUST NOT overlap in their idenfitiers.
Instances of
RemoteInstrument
are created from configuration. A new instance of RemoteInstrument will be created for each encoder and decoder. It's only called from the operator, so if it doesn't delegate to any shared instance it doesn't have to be thread-safe.