heapsterk8s.io/heapster/metrics/sinks/elasticsearch Index | Files

package elasticsearch

import "k8s.io/heapster/metrics/sinks/elasticsearch"

Index

Functions

func EsPointValue

func EsPointValue(value interface{}) interface{}

func NewElasticSearchSink

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

Types

type EsFamilyPoints

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

type EsSinkPointFamily

type EsSinkPointFamily map[string]interface{}

type EsSinkPointGeneral

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

Source Files

driver.go

Version
v1.5.4 (latest)
Published
Jul 26, 2018
Platform
linux/amd64
Imports
7 packages
Last checked
1 week ago

Tools for package owners.