package
2.0.0+incompatible
Repository: https://github.com/ibm-messaging/mq-golang.git
Documentation: pkg.go.dev
# Functions
DiscoverAndSubscribe does all the work of finding the
different resources available from a queue manager and
issuing the MQSUB calls to collect the data
*/.
EndConnection tidies up by closing the queues and disconnecting.
InitConnection connects to the queue manager, and then
opens both the command queue and a dynamic reply queue
to be used for all responses including the publications
*/.
InitConnectionStats is the same as InitConnection with the addition
of a call to open the queue manager statistics queue.
Normalise converts the value returned from MQ into the correct units
such as converting MB to bytes.
ProcessPublications has to read all of the messages since the last scrape
and update the values for every relevant gauge.
ReadPatterns is called during the initial configuration step to read a file
containing object name patterns if they are not explicitly given
on the command line.
# Constants
QMgrMapKey can never be a real object name and is therefore useful in maps that may contain only this single entry.
# Variables
Metrics is the global variable for the tree of data.
# Structs
The AllMetrics structure is the top of the tree, holding the set of classes.
No description provided by the author
MonClass described the "classes" of data generated by MQ, such as DISK and CPU.
MonElement describes the real metric element generated by MQ.
MonType describes the "types" of data generated by MQ.