mackerel

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name defines this exporter name.
	Name = "mackerel"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

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

Exporter represents ...

func NewExporter

func NewExporter(apiKey, apiBase string) (*Exporter, error)

NewExporter is ...

func (*Exporter) Export

func (e *Exporter) Export(service string, metrics []*mackerel.MetricValue) error

Export is ...

func (*Exporter) ExportWithContext

func (e *Exporter) ExportWithContext(ctx context.Context, service string, metrics []*mackerel.MetricValue) error

ExportWithContext is ...

Jump to

Keyboard shortcuts

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