exporters

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package exporters contains all exporters to provide data delivery to the external systems such as Cloud Monitoring or simply stadard out.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAll added in v0.3.2

func StartAll(c common.Context, opts *common.Options, ch chan interface{}) int

StartAll executes runners for all exporters and returns number of successful executions.

Types

type Exporter

type Exporter struct {
	// contains filtered or unexported fields
}

Exporter couples the name and the runner of each exporter.

func (*Exporter) Name

func (p *Exporter) Name() string

Name implements common.Plugin.

func (*Exporter) RegisterStackdriver added in v0.3.2

func (*Exporter) RegisterStackdriver() *Exporter

RegisterStackdriver returns a new Exporter and it is used by StartAll().

func (*Exporter) RegisterStdout added in v0.3.2

func (*Exporter) RegisterStdout() *Exporter

RegisterStdout returns a new Exporter and it is used by StartAll().

func (*Exporter) Run

func (p *Exporter) Run(c common.Context, opts common.PluginOptions, ch chan interface{}) error

Run implements common.Plugin.

Jump to

Keyboard shortcuts

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