elasticsearch

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EsPointValue added in v1.3.0

func EsPointValue(value interface{}) interface{}

func NewElasticSearchSink

func NewElasticSearchSink(uri *url.URL) (core.DataSink, error)

Types

type EsFamilyPoints added in v1.3.0

type EsFamilyPoints map[core.MetricFamily][]interface{}

type EsSinkPointFamily added in v1.3.0

type EsSinkPointFamily map[string]interface{}

type EsSinkPointGeneral added in v1.3.0

type EsSinkPointGeneral struct {
	GeneralMetricsTimestamp time.Time
	MetricsTags             esPointTags
	MetricsName             string
	MetricsValue            interface{}
}

type SaveDataFunc

type SaveDataFunc func(date time.Time, typeName string, sinkData []interface{}) error

SaveDataFunc is a pluggable function to enforce limits on the object

Jump to

Keyboard shortcuts

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