graphite

package
Version: v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graphite

type Graphite struct {
	Builder *sdk.Target
}

Graphite represents a graphite query.

func New

func New(query string, options ...Option) *Graphite

type Option

type Option func(target *Graphite)

Option represents an option that can be used to configure a graphite query.

func Hide

func Hide() Option

Hide the query. Grafana does not send hidden queries to the data source, but they can still be referenced in alerts.

func Ref

func Ref(ref string) Option

Ref sets the reference ID for this query.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL