query

package
v0.57.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const PluginKind = "TempoTraceQuery"

Variables

This section is empty.

Functions

func TraceQL

func TraceQL(expr string, options ...Option) query.Option

Types

type Builder

type Builder struct {
	PluginSpec `json:",inline" yaml:",inline"`
}

type Option

type Option func(plugin *Builder) error

func Datasource

func Datasource(datasourceName string) Option

func Expr

func Expr(expr string) Option

func Limit added in v0.53.0

func Limit(limit int) Option

type PluginSpec

type PluginSpec struct {
	Datasource *datasource.Selector `json:"datasource,omitempty" yaml:"datasource,omitempty"`
	Query      string               `json:"query" yaml:"query"`
	Limit      *int                 `json:"limit,omitempty" yaml:"limit,omitempty"`
}

Jump to

Keyboard shortcuts

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