You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
This is python client for collecting IBM Integration Bus metrics and exporting to [Prometheus pushgateway](https://github.com/prometheus/pushgateway).
6
6
The collected metrics can be explored in Prometheus or Grafana.
7
7
8
-
The metrics are collected using [mqsilist](https://www.ibm.com/support/knowledgecenter/en/SSMKHH_9.0.0/com.ibm.etools.mft.doc/an07250_.htm) command. So, you need to install `IBM Integration Bus`.
8
+
The metrics are collected by using [mqsilist](https://www.ibm.com/support/knowledgecenter/en/SSMKHH_9.0.0/com.ibm.etools.mft.doc/an07250_.htm) command. The metrics are collected for **all local** Brokers. You need to run `IB metrics pyclient` in the same host where `IBM Integration Bus` was installed.
9
9
10
10
Tested for IBM IB v9 and v10 and Python 3.6, 3.7 on Linux.
11
11
@@ -20,7 +20,6 @@ The metrics provided by the client:
20
20
*`ib_application_status...` - current status of IB application;
21
21
*`ib_message_flow_status...` - current status of IB message flow.
22
22
23
-
24
23
See [detailed description of the metrics](#metrics-detailed-description) for an in-depth understanding.
25
24
26
25
You can run `IB metrics pyclient` and [MQ metrics pyclient](https://github.com/AATools/mq-metrics-pyclient) together. Metrics from both clients will be sent to the same pushgateway. Conflicts will not arise.
After that, you should set up your Prometheus server to collect metrics from Pushgateway (`http://<hostname>:9091/metrics`).
50
49
51
-
You can specify `host` and `port` for pushgateway and Integration Bus version via command-line arguments.
50
+
You can specify `host` and `port` for pushgateway, Integration Bus version and time interval in seconds between collecting metrics via command-line arguments.
@@ -72,6 +73,7 @@ If argument is not set the default value is used.
72
73
|`pghost`| Pushgateway host | Hostname on which client is started.<br> Value define via `platform.node()`. |
73
74
|`pgport`| Pushgateway port |`9091`|
74
75
|`iibver`| IIB version |`9`<br> Valid value: **9** or **10**.<br> If argument is omitted or invalid value is passed, the client will try to determine version via environment variable `MQSI_VERSION_V`. If it can't determine the version using the environment variable, the default value will be used. |
76
+
| `collectint` | Time interval between collecting metrics | `60` <br> Time in seconds. |
0 commit comments