Change aerospike plugin server tag to aerospike_host
This is to avoid a conflict with the standard "host" tag that is used everywhere. closes #399
This commit is contained in:
committed by
Cameron Sparr
parent
a5f2d5ff21
commit
b705608b04
@@ -250,8 +250,8 @@ func get(key []byte, host string) (map[string]string, error) {
|
||||
func readAerospikeStats(stats map[string]string, acc plugins.Accumulator, host, namespace string) {
|
||||
for key, value := range stats {
|
||||
tags := map[string]string{
|
||||
"host": host,
|
||||
"namespace": "_service",
|
||||
"aerospike_host": host,
|
||||
"namespace": "_service",
|
||||
}
|
||||
|
||||
if namespace != "" {
|
||||
|
||||
Reference in New Issue
Block a user