Add node-id and node attributes to tags.

This commit is contained in:
Orne Brocaar
2015-07-09 18:41:16 +02:00
parent 3f6c46e1ec
commit 6c87148cd4
2 changed files with 15 additions and 7 deletions

View File

@@ -248,9 +248,11 @@ func TestElasticsearch(t *testing.T) {
}
tags := map[string]string{
"node_host": "test",
"node_name": "test.host.com",
"cluster_name": "es-testcluster",
"cluster_name": "es-testcluster",
"node_attribute_master": "true",
"node_id": "SDFsfSDFsdfFSDSDfSFDSDF",
"node_name": "test.host.com",
"node_host": "test",
}
for key, val := range indicesExpected {