Documentation
¶
Index ¶
- type Backend
- func (backend *Backend) Disconnect()
- func (backend *Backend) Init(standardLogs *log.Logger, errorLogs *log.Logger) error
- func (backend *Backend) SendHost(values []HostInfo, url string) error
- func (backend *Backend) SendMetrics(metrics []Point)
- func (backend *Backend) SendNetrics2tsdb(values opentsdb.DataPoints, url string) error
- func (backend *Backend) SendPollerMetrics(url string) error
- type HostInfo
- type HostStuct
- type KeyValue
- type Point
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
ApiKey string
MetricUrl string
HostUrl string
Hostname string
Port int
Database string
Username string
Password string
Type string
KongHost string
PollerUrl string
NoArray bool
PollerTags KeyValue
// contains filtered or unexported fields
}
Storage backend
func (*Backend) Disconnect ¶
func (backend *Backend) Disconnect()
func (*Backend) SendMetrics ¶
func (*Backend) SendNetrics2tsdb ¶
func (backend *Backend) SendNetrics2tsdb(values opentsdb.DataPoints, url string) error
func (*Backend) SendPollerMetrics ¶
Click to show internal directories.
Click to hide internal directories.