Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Update collectd-zookeeper version and test against latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Fitzpatrick committed Jan 21, 2022
1 parent 5c2df15 commit 451b29f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion collectd-plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
repo: signalfx/collectd-spark

- name: zookeeper
version: v0.1.1
version: v0.1.2
repo: signalfx/collectd-zookeeper

- name: vmstat
Expand Down
13 changes: 13 additions & 0 deletions tests/monitors/collectd_zookeeper/zookeeper_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,16 @@ def test_zookeeper_leader_metrics():
"""
) as agent:
verify_expected_is_subset(agent, METADATA.metrics_by_group["leader"])


def test_zookeeper_latest():
with run_zookeeper(version="zookeeper:latest", env=ENV) as host:
run_agent_verify_default_metrics(
f"""
monitors:
- type: collectd/zookeeper
host: {host}
port: 2181
""",
METADATA,
)

0 comments on commit 451b29f

Please sign in to comment.