mackerel

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	APIKey       string          `toml:"api_key" env:"MACKEREL_API_KEY"`
	HostID       string          `toml:"host_id" env:"MACKEREL_HOST_ID"`
	ServiceName  string          `toml:"service_name" env:"MACKEREL_SERVICE_NAME"`
	MetricPrefix string          `toml:"metric_prefix" env:"MACKEREL_METRIC_PREFIX"`
	Log          telegraf.Logger `toml:"-"`
	// contains filtered or unexported fields
}

func (*Plugin) Close

func (p *Plugin) Close() error

func (*Plugin) Connect

func (p *Plugin) Connect() error

func (*Plugin) SampleConfig

func (*Plugin) SampleConfig() string

func (*Plugin) Write

func (p *Plugin) Write(metrics []telegraf.Metric) error

Jump to

Keyboard shortcuts

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