Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClusterTracking = []string{
"active_clients",
"clients",
"queries_per_sec",
"read_docs_per_sec",
"written_docs_per_sec",
}
View Source
var MemberTracking = []string{
"active_clients",
"clients",
"queries_per_sec",
"total_queries",
"read_docs_per_sec",
"total_reads",
"written_docs_per_sec",
"total_writes",
}
View Source
var TableTracking = []string{
"read_docs_per_sec",
"total_reads",
"written_docs_per_sec",
"total_writes",
}
Functions ¶
This section is empty.
Types ¶
type Disk ¶
type Disk struct { ReadBytesPerSec int64 `gorethink:"read_bytes_per_sec"` ReadBytesTotal int64 `gorethink:"read_bytes_total"` WriteBytesPerSec int64 `gorethik:"written_bytes_per_sec"` WriteBytesTotal int64 `gorethink:"written_bytes_total"` SpaceUsage SpaceUsage `gorethink:"space_usage"` }
type Engine ¶
type Engine struct { ClientConns int64 `gorethink:"client_connections,omitempty"` ClientActive int64 `gorethink:"clients_active,omitempty"` QueriesPerSec int64 `gorethink:"queries_per_sec,omitempty"` TotalQueries int64 `gorethink:"queries_total,omitempty"` ReadsPerSec int64 `gorethink:"read_docs_per_sec,omitempty"` TotalReads int64 `gorethink:"read_docs_total,omitempty"` WritesPerSec int64 `gorethink:"written_docs_per_sec,omitempty"` TotalWrites int64 `gorethink:"written_docs_total,omitempty"` }
func (*Engine) AddEngineStats ¶
type RethinkDB ¶
type RethinkDB struct {
Servers []string
}
func (*RethinkDB) Gather ¶
func (r *RethinkDB) Gather(acc telegraf.Accumulator) error
Reads stats from all configured servers accumulates stats. Returns one of the errors encountered while gather stats (if any).
func (*RethinkDB) SampleConfig ¶
type SpaceUsage ¶
Click to show internal directories.
Click to hide internal directories.