mirror of
https://github.com/Oxalide/vsphere-influxdb-go.git
synced 2023-10-10 13:36:51 +02:00
11 lines
315 B
Go
11 lines
315 B
Go
|
package monitor
|
||
|
|
||
|
import "github.com/influxdata/influxdb/models"
|
||
|
|
||
|
// Reporter is an interface for gathering internal statistics.
|
||
|
type Reporter interface {
|
||
|
// Statistics returns the statistics for the reporter,
|
||
|
// with the given tags merged into the result.
|
||
|
Statistics(tags map[string]string) []models.Statistic
|
||
|
}
|