We are jazzed to announce the release of: monasca-agent 3.0.0: Monitoring agent for gathering metrics and sending them to the Monasca API. This release is part of the ussuri release series. The source is available from: https://opendev.org/openstack/monasca-agent Download the package from: https://tarballs.openstack.org/monasca-agent/ Please report issues through: https://bugs.launchpad.net/monasca/+bugs For more details, please see below. Changes in monasca-agent 2.11.0..3.0.0 -------------------------------------- eee191a Do not copy /sbin/ip to /usr/bin/monasa-agent-ip 3f48550 Update TOX_CONSTRAINTS_FILE for stable/ussuri d1cd0be Update .gitreview for stable/ussuri 8d4bd97 Add remove configuration for matching arguments 1d4e926 Use unittest.mock instead of third party mock 22b6f4f Cleanup py27 support 6f330f6 Remove incorrect assignment of ping_cmd to 'True' cedadcc Update hacking for Python3 1caaf44 Close db connection in mysql check e4aba27 Add Infiniband metrics plugin 0a4abd5 Add support for gathering Slab memory usage 3406f82 Ceph plugin updates for Luminous 38a91f0 Enable running unit tests in py37 environment 7ee22f6 Fix misspell word c57f201 [ussuri][goal] Drop python 2.7 support and testing e62dcef Fix TOC section reference e1d73c4 add X.509 certificate check plugin 96afbc6 Update agent architecture diagram 46de12e Switch to Ussuri jobs 833e594 Add swift_handoffs check plugin to monasca 0d929d0 Add swift_recon check plugin to monasca 18b3098 Add requirement for Prometheus plugin c0f6f0b Update the constraints url 3c1335f Push Docker image to Docker Hub from Zuul 833cee2 Change Elasticsearch urls to fix failing metrics retrieval Diffstat (except docs and test files) ------------------------------------- .gitreview | 1 + .zuul.yaml | 5 +- conf.d/swift_handoffs.yaml.example | 24 + conf.d/swift_recon.yaml.example | 17 + monasca_agent/collector/checks_d/ceph.py | 26 +- .../collector/checks_d/cert_file_check.py | 68 + monasca_agent/collector/checks_d/couchbase.py | 8 +- monasca_agent/collector/checks_d/cpu.py | 2 +- monasca_agent/collector/checks_d/elastic.py | 4 +- monasca_agent/collector/checks_d/hdfs.py | 1 + monasca_agent/collector/checks_d/ib_network.py | 87 + monasca_agent/collector/checks_d/memory.py | 7 + monasca_agent/collector/checks_d/mysql.py | 1 + monasca_agent/collector/checks_d/supervisord.py | 3 +- monasca_agent/collector/checks_d/swift_handoffs.py | 114 ++ monasca_agent/collector/checks_d/swift_recon.py | 292 ++++ monasca_agent/collector/checks_d/vcenter.py | 2 +- monasca_agent/collector/daemon.py | 1 + monasca_agent/common/daemon.py | 2 +- monasca_agent/common/util.py | 4 +- monasca_agent/forwarder/api/monasca_api.py | 8 +- monasca_agent/forwarder/daemon.py | 1 + monasca_agent/hacking/checks.py | 20 +- monasca_setup/detection/plugins/cert_file_check.py | 73 + monasca_setup/detection/plugins/haproxy.py | 4 +- monasca_setup/detection/plugins/ib_network.py | 43 + monasca_setup/detection/plugins/keystone.py | 2 +- monasca_setup/detection/plugins/libvirt.py | 77 +- monasca_setup/detection/plugins/mon.py | 2 +- monasca_setup/main.py | 108 +- playbooks/docker-publish.yml | 3 + .../add-slab-usage-metric-e7504c57e4b3ba16.yaml | 3 + .../notes/drop-py-2-7-9a5a1c167be90f99.yaml | 6 + requirements.txt | 1 - setup.cfg | 30 +- setup.py | 9 - test-requirements.txt | 5 +- .../{ceph => ceph-jewel}/test_ceph-df.json | 0 .../{ceph => ceph-jewel}/test_ceph-osd-df.json | 0 .../{ceph => ceph-jewel}/test_ceph-osd-dump.json | 0 .../{ceph => ceph-jewel}/test_ceph-osd-perf.json | 0 .../test_ceph-osd-pool-stats.json | 0 .../{ceph => ceph-jewel}/test_ceph-status.json | 0 .../{ceph => ceph-jewel}/test_ceph-status.plain | 0 .../fixtures/ceph-jewel/test_ceph-version.plain | 1 + .../fixtures/ceph-luminous/test_ceph-df.json | 219 +++ .../fixtures/ceph-luminous/test_ceph-osd-df.json | 575 +++++++ .../fixtures/ceph-luminous/test_ceph-osd-dump.json | 1738 ++++++++++++++++++++ .../fixtures/ceph-luminous/test_ceph-osd-perf.json | 158 ++ .../ceph-luminous/test_ceph-osd-pool-stats.json | 79 + .../fixtures/ceph-luminous/test_ceph-status.json | 176 ++ .../fixtures/ceph-luminous/test_ceph-status.plain | 25 + .../fixtures/ceph-luminous/test_ceph-version.plain | 1 + tox.ini | 34 +- 87 files changed, 6919 insertions(+), 478 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 61be734..7a24a1b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24 +23,0 @@ tornado>=4.5.3 # Apache-2.0 -futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD diff --git a/test-requirements.txt b/test-requirements.txt index 2ad7fbc..b7658ff 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4 +4 @@ -hacking>=1.1.0,<1.2.0 # Apache-2.0 +hacking>=3.0,<3.1.0 # Apache-2.0 @@ -6 +5,0 @@ bandit!=1.6.0,>=1.1.0 # Apache-2.0 -mock>=2.0.0 # BSD @@ -11,0 +11,2 @@ docutils>=0.11 # OSI-Approved Open Source, Public Domain +freezegun>=0.3.6 # Apache-2.0 +