grafanalive

package
v0.0.0-...-39262cb Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 1

README

Grafana Live streaming output plugin

Configuration

Example

[[outputs.grafana-live]]
  # This points to your running grafana instance
  address = "http://localhost:3000"
  # The channel that you want to publish messages to
  channel = "telegraf"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrafanaLive

type GrafanaLive struct {
	URL  string          `toml:"url"`
	Path string          `toml:"path"`
	Log  telegraf.Logger `toml:"-"`
	// contains filtered or unexported fields
}

GrafanaLive connects to grafana server

func (*GrafanaLive) Close

func (g *GrafanaLive) Close() error

func (*GrafanaLive) Connect

func (g *GrafanaLive) Connect() error

func (*GrafanaLive) Description

func (g *GrafanaLive) Description() string

func (*GrafanaLive) SampleConfig

func (g *GrafanaLive) SampleConfig() string

func (*GrafanaLive) Write

func (g *GrafanaLive) Write(metrics []telegraf.Metric) error

Jump to

Keyboard shortcuts

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