elasticsearch

package
v1.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewElasticSearchSink

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

Types

type EsSinkPoint

type EsSinkPoint struct {
	MetricsName      string
	MetricsValue     interface{}
	MetricsTimestamp time.Time
	MetricsTags      map[string]string
}

type SaveDataFunc

type SaveDataFunc func(esClient *elastic.Client, indexName string, 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