Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RethinkdbExporter ¶
type RethinkdbExporter struct {
// contains filtered or unexported fields
}
RethinkdbExporter is a prometheus exporter of the rethinkdb statistics
func New ¶
func New( listenAddress string, telemetryPath string, rconn r.QueryExecutor, collectTableStats bool, ) (*RethinkdbExporter, error)
New creates a new instance of prometheus rethinkdb exporter
func (*RethinkdbExporter) Collect ¶
func (e *RethinkdbExporter) Collect(ch chan<- prometheus.Metric)
Collect send collected metrics values to the prometheus chan
func (*RethinkdbExporter) Describe ¶
func (e *RethinkdbExporter) Describe(ch chan<- *prometheus.Desc)
Describe sends metrics descriptions to the prometheus chan
func (*RethinkdbExporter) ListenAndServe ¶
func (e *RethinkdbExporter) ListenAndServe() error
ListenAndServe runs prometheus http-server for exporting stats
Click to show internal directories.
Click to hide internal directories.