influxdb

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 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 InfluxDB

type InfluxDB struct {
	Builder *sdk.Target
}

InfluxDB represents a influxdb query.

func New

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

type Option

type Option func(target *InfluxDB)

Option represents an option that can be used to configure a influxdb 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