sqlc

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectCustomQueries

func CollectCustomQueries(ctx context.Context, db *sql.DB, ss *types.Samples, queries []CustomQuery)

Types

type CustomQuery

type CustomQuery struct {
	Mesurement    string        `toml:"mesurement"`
	MetricFields  []string      `toml:"metric_fields"`
	LabelFields   []string      `toml:"label_fields"`
	FieldToAppend string        `toml:"field_to_append"`
	Timeout       time.Duration `toml:"timeout"`
	Request       string        `toml:"request"`
}

Jump to

Keyboard shortcuts

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