sqlc

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 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"`
	ValueFields     []string      `toml:"value_fields"`
	LabelFields     []string      `toml:"label_fields"`
	MetricNameField string        `toml:"metric_name_field"`
	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