Skip to content

Commit 1d36710

Browse files
authored
Merge pull request #28 from newrelic/config-fix
Config fix
2 parents 471396e + 72d71a4 commit 1d36710

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## 0.2.1 - 2018-10-23
9+
### Added
10+
- Additional descriptions for config parameters
11+
### Fixed
12+
- Incorrect YAML in config file
13+
814
## 0.2.0 - 2018-10-04
915
### Added
1016
- Added index regex configuration parameter to allow limiting which indices are collected

elasticsearch-config.yml.sample

+7-6
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ instances:
66
arguments:
77
config_path: <absolute path to the ElasticSearch configuration .yml file. (default "/etc/elasticsearch/elasticsearch.yml")>
88
hostname: <hostname or IP where Elasticsearch Node is running. (default "localhost")>
9-
local_hostname: <hostname or IP of the Elasticsearch node from which to collect inventory data. (default "localhost")>
9+
local_hostname: <(Optional) Hostname or IP of the Elasticsearch node from which to collect inventory data. (default "localhost"). Should only be set if you do not wish to collect inventory data against localhost>
1010
username: <username for accessing Elasticsearch Node>
1111
password: <password for the given user.>
1212
port: <port on which Elasticsearch Node is listening. (default 9200)>
1313
timeout: <timeout in seconds for an API call (default 30)>
14-
use_ssl <true or false to use SSL. If true Certificate bundle must be supplied>
15-
ca_bundle_dir: <directory for certificate authority bundle, must be included if use_ssl is true>
16-
ca_bundle_file: <file for certificate authority bundle, must be included if use_ssl is true>
17-
collect_indices <true or false to collect indices metrics. If true collect indices, else do not>
18-
collect_primaries <true or false to collect primaries metrics. If true collect primaries, else do not>
14+
use_ssl: <(Optional) true or false to use SSL. If true Certificate bundle must be supplied. (default false)>
15+
ca_bundle_dir: <(Optional) Required if use_ssl is true. Directory for certificate authority bundle, must be included if use_ssl is true>
16+
ca_bundle_file: <(Optional) Required if use_ssl is true. File for certificate authority bundle, must be included if use_ssl is true>
17+
indices_regex: <(Optional) Can be used to filter which indicies are collected. If left blank it will be ignored>
18+
collect_indices: <(Optional) true or false to collect indices metrics. If true collect indices, else do not. (default true)>
19+
collect_primaries: <(Optional) true or false to collect primaries metrics. If true collect primaries, else do not. (default true)>
1920
labels:
2021
role: elasticsearch

src/elasticsearch.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type argumentList struct {
2727

2828
const (
2929
integrationName = "com.newrelic.elasticsearch"
30-
integrationVersion = "0.2.0"
30+
integrationVersion = "0.2.1"
3131
)
3232

3333
var (

0 commit comments

Comments
 (0)