Skip to content

Commit 1596a9c

Browse files
committed
Update README
1 parent 50c0a2f commit 1596a9c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
This 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
67
collected from queue managers and made available in databases to enable dashboard and historic reporting.
78

89
## The dspmqrtj program

cmd/mq_otel/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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 {

scripts/buildBuildah.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ if [ -z "$gitCommit" ]
126126
then
127127
gitCommit="Unknown"
128128
fi
129-
hw=`uname -i`
129+
hw=`uname -m`
130130
os=`uname -s`
131131
bp="$os/$hw"
132132

0 commit comments

Comments
 (0)