lib

package
v0.0.0-...-f8d0f74 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	// contains filtered or unexported fields
}

func NewVoltDBExporter

func NewVoltDBExporter(namespace string, user string, pass string, dbs []string, useHttp bool, insecureHttps bool) *Exporter

func (*Exporter) Collect

func (e *Exporter) Collect(ch chan<- prometheus.Metric)

Writes latest value to Prometheus metric channel with either ch <- e.<metric> or <metric>.Collect(ch)

func (*Exporter) Describe

func (e *Exporter) Describe(ch chan<- *prometheus.Desc)

Writes all descriptors to the Prometheus desc channel

type Stats

type Stats struct {
	// contains filtered or unexported fields
}

type VoltDBClient

type VoltDBClient struct {
	// contains filtered or unexported fields
}

func NewVoltDBClient

func NewVoltDBClient(user string, pass string, dbs []string, useHttp bool, insecureHttps bool) *VoltDBClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL