publish

package
v0.0.0-...-98f13d6 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Persister allows pushing metrics to the Persistor Service
	Persistor *metrics_client.Client
)

Functions

func Init

func Init(p Publisher)

func Persist

func Persist(metrics []*schema.MetricData) error

func Publish

func Publish(metrics []*schema.MetricData) error

Types

type Publisher

type Publisher interface {
	Publish(metrics []*schema.MetricData) error
	Type() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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