Documentation
¶
Overview ¶
Package ibmmqotel provides an interface between an OpenTelemetry-instrumented Go program and the IBM MQ client. It is a separate package to avoid dragging OTel dependencies into applications that are not using OTel.
It is essentially a propagator, transforming Span/Trace information in and out of the MQ Message Properties that are carried between MQ nodes.
The main ibmmq package has the hook points in place to allow this package to register itself and be called at the appropriate points
An instrumented application needs to
Import this package
call ibmmqotel.Setup()
set Ctx field in MQPMO/MQGMO structures passed to the Put/Get/CB verbs in the ibmmq package, passing the relevant context associated with the current Span
If using the MQCB/CallbackFunc for asynchronous consumption, the Context is available in the MQCBD structure as the Ctx field
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.