Change HAProxy plugin tag from host to server

fixes #342
This commit is contained in:
Cameron Sparr
2015-11-03 11:04:52 -07:00
parent 6794fd06eb
commit e2854232d0
3 changed files with 10 additions and 9 deletions

View File

@@ -165,9 +165,9 @@ func importCsvResult(r io.Reader, acc plugins.Accumulator, host string) ([][]str
for field, v := range row {
tags := map[string]string{
"host": host,
"proxy": row[HF_PXNAME],
"sv": row[HF_SVNAME],
"server": host,
"proxy": row[HF_PXNAME],
"sv": row[HF_SVNAME],
}
switch field {
case HF_QCUR: