Observability::Instrumentation::

Zyre module

Instrumentation for the Zyre library Refs: - github.com/zeromq/zyre - gitlab.com/ravngroup/open-source/ruby-zyre

Public Instance Methods

observe_shout( group, *msgs )

Observer callback for the shout method.

# File lib/observability/instrumentation/zyre.rb, line 45
def observe_shout( group, *msgs )
        Observability.observer.add( group: group, messages: msgs )
end
observe_whisper( peer_uuid, *msgs )

Observer callback for the whisper method.

# File lib/observability/instrumentation/zyre.rb, line 39
def observe_whisper( peer_uuid, *msgs )
        Observability.observer.add( peer_uuid: peer_uuid, messages: msgs )
end