Skip to content

Commit 184f27b

Browse files
authored
Merge pull request #134 from signalfx/max_active_channels
Support reading max active channels from configuration
2 parents 0277a5c + 91c28bc commit 184f27b

File tree

5 files changed

+87
-56
lines changed

5 files changed

+87
-56
lines changed

config.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ queueManagers:
1515
host: "localhost"
1616
port: 1414
1717

18+
# Indicate the MaxActiveChannels as set in qm.ini, see https://www.ibm.com/docs/en/ibm-mq/9.3.x?topic=qmini-channels-stanza-file
19+
maxActiveChannels: 4200
20+
1821
#The transport type for the queue manager connection, the default is "Bindings" for a binding type connection
1922
#For bindings type, connection WMQ extension (i.e machine agent) need to be on the same machine on which WebbsphereMQ server is running
2023
#For client type, connection change it to "Client".
@@ -327,10 +330,6 @@ mqMetrics:
327330
- MaxHandles:
328331
alias: "Max Handles"
329332
ibmConstant: "com.ibm.mq.constants.CMQC.MQIA_MAX_HANDLES"
330-
# Uncomment to track max active channels as part of configuration events.
331-
# - MaxActiveChannels:
332-
# alias: "Max Active Channels"
333-
# ibmConstant: "com.ibm.mq.constants.CMQC.MQIA_MAX_ACTIVE_CHANNELS"
334333

335334
sslConnection:
336335
trustStorePath: ""

golden/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ queueManagers:
1515
host: "0.0.0.0"
1616
port: 1414
1717

18+
# Indicate the MaxActiveChannels as set in qm.ini, see https://www.ibm.com/docs/en/ibm-mq/9.3.x?topic=qmini-channels-stanza-file
19+
maxActiveChannels: 4200
20+
1821
#The transport type for the queue manager connection, the default is "Bindings" for a binding type connection
1922
#For bindings type, connection WMQ extension (i.e machine agent) need to be on the same machine on which WebbsphereMQ server is running
2023
#For client type, connection change it to "Client".

0 commit comments

Comments
 (0)