Throughout telegraf, use telegraf.Metric rather than client.Point
closes #599
This commit is contained in:
committed by
Ryan Merrick
parent
5364a20825
commit
1edfa9bbd0
@@ -113,7 +113,7 @@ func TestPostgresqlDefaultsToAllDatabases(t *testing.T) {
|
||||
|
||||
var found bool
|
||||
|
||||
for _, pnt := range acc.Points {
|
||||
for _, pnt := range acc.Metrics {
|
||||
if pnt.Measurement == "postgresql" {
|
||||
if pnt.Tags["db"] == "postgres" {
|
||||
found = true
|
||||
|
||||
Reference in New Issue
Block a user