graphite

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 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

New creates a new Graphite query.

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.

Jump to

Keyboard shortcuts

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