File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 22
33This repository contains a collection of IBM MQ monitoring agents that utilize the
44[ IBM MQ Go metric packages] ( https://github.com/ibm-messaging/mq-golang ) to provide programs that can be used with
5- existing monitoring technologies such as Prometheus, AWS CloudWatch, etc. Statistics and status information can be
5+ existing monitoring technologies such as Prometheus, AWS CloudWatch, etc. It can also send data to an OpenTelemetry
6+ environment. Statistics and status information can be
67collected from queue managers and made available in databases to enable dashboard and historic reporting.
78
89## The dspmqrtj program
Original file line number Diff line number Diff line change @@ -235,6 +235,9 @@ func main() {
235235 log .Fatal ("Too many errors communicating with server" )
236236 }
237237 log .Debugf ("Error counts: global %d" , totalErrorCount )
238+ if ctx .Err () != nil {
239+ log .Fatalf ("Exiting: %v" , ctx .Err ())
240+ }
238241
239242 loopCount ++
240243 if maxLoops > 0 && loopCount > maxLoops {
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ if [ -z "$gitCommit" ]
126126then
127127 gitCommit=" Unknown"
128128fi
129- hw=` uname -i `
129+ hw=` uname -m `
130130os=` uname -s`
131131bp=" $os /$hw "
132132
You can’t perform that action at this time.
0 commit comments