Browse Source

influxdb: pass tags to alerting from influxdb client

closes #10046
bergquist 8 năm trước cách đây
mục cha
commit
9282182805
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      pkg/tsdb/influxdb/response_parser.go

+ 1 - 0
pkg/tsdb/influxdb/response_parser.go

@@ -50,6 +50,7 @@ func (rp *ResponseParser) transformRows(rows []Row, queryResult *tsdb.QueryResul
 			result = append(result, &tsdb.TimeSeries{
 				Name:   rp.formatSerieName(row, column, query),
 				Points: points,
+				Tags:   row.Tags,
 			})
 		}
 	}