Skip to content

Commit

Permalink
fixed test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsignalfx committed Dec 28, 2018
1 parent fc7817d commit 6143675
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A [CollectD](http://collectd.org) plugin to collect [Elasticsearch](https://gith

## Installation

1. Place the `elasticsearch_collectd.py` file into a directory on the host. The recommended directory is `/usr/share/collectd/collectd-elasticsearch`.
1. Place the `elasticsearch_collectd.py` and `elasticsearch_collectd_utils.py` files into a directory on the host. The recommended directory is `/usr/share/collectd/collectd-elasticsearch`.
1. Configure the plugin (see below).
1. Restart collectd.

Expand Down
1 change: 1 addition & 0 deletions tests/integration/Dockerfile.collectd
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ ADD tests/integration/wait_for_es /.docker/wait_for_es

## The context of the image build should be the root dir of this repo!!
ADD elasticsearch_collectd.py /usr/share/collectd/collectd-elasticsearch/
ADD elasticsearch_collectd_utils.py /usr/share/collectd/collectd-elasticsearch/
ADD tests/integration/20-elasticsearch-test.conf /etc/collectd/managed_config/
1 change: 0 additions & 1 deletion tests/integration/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def wait_for_metrics_from_each_cluster():
print 'Waiting for metric: %s from cluster %s...' % (metric, c)
eventually_true(lambda: any([metric in str(m.get('type_instance')) for m in get_metric_data()]),
TIMEOUT_SECS - (time() - start))

print 'metric: %s Found! from cluster: %s' % (metric, c)


Expand Down

0 comments on commit 6143675

Please sign in to comment.