aatools / ib-metrics-pyclient Goto Github PK
View Code? Open in Web Editor NEWPython client for pushing IBM Integration Bus metrics to Prometheus pushgateway.
License: MIT License
Python client for pushing IBM Integration Bus metrics to Prometheus pushgateway.
License: MIT License
Need to add documentation strings for project functions and classes.
Need to add IIB 10 support.
Hi
Is it possible to add influxdb format for output?
like this
current output
go_gc_duration_seconds{quantile="0"} 0.000208915
Line protocol format:
measurement,tag1=value1,tag2=value2 field1=value3,field2=value4 timestamp
Expected output
go_gc_duration_seconds,quantile="0" value=0.000208915 1625487910
More detail:
https://docs.influxdata.com/influxdb/v2/reference/syntax/line-protocol/
Thanks
It would be great all the additional functions for IB objects to take out of the module iib_metrics_client
and put them in separate modules.
As is:
In [4]: inspect.getmembers(iib_metrics_client, inspect.isfunction)
Out[4]:
[('format_applications', <function iib_metrics_client.format_applications>),
('format_broker', <function iib_metrics_client.format_broker>),
('format_exec_groups', <function iib_metrics_client.format_exec_groups>),
('format_message_flows', <function iib_metrics_client.format_message_flows>),
('get_broker_items', <function iib_metrics_client.get_broker_items>),
('get_brokers_status', <function iib_metrics_client.get_brokers_status>),
('main', <function iib_metrics_client.main>),
('put_metric_to_gateway',
<function iib_metrics_client.put_metric_to_gateway>),
('run_iib_command', <function modules.iib_api.run_iib_command>),
('set_logger', <function log.logger_client.set_logger>)]
Need to add the ability to set the pushgateway host and port values through parameters when starting the program.
For pushgateway /metrics
endpoint:
# TYPE ib_broker_status untyped
ib_broker_status{brokername="BRK1",instance="",job="BRK1",qmname="QM1"} 1
# HELP ib_broker_status Current status of IB broker.
# TYPE ib_broker_status gauge
ib_broker_status{brokername="BRK1",instance="",job="BRK1",qmname="QM1"} 1
Hi
This would you please add number of message transfer by ibm iib?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.