vector

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: Apache-2.0 Imports: 4 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...Option) *parser.VectorSelector

Types

type Builder

type Builder parser.VectorSelector

type Option

type Option func(vector *Builder)

func WithAtEnd

func WithAtEnd() Option

func WithAtSpecificTimeStamp

func WithAtSpecificTimeStamp(timestamp int64) Option

func WithAtStart

func WithAtStart() Option

func WithLabelMatchers

func WithLabelMatchers(matchers ...*labels.Matcher) Option

func WithMetricName

func WithMetricName(name string) Option

func WithOffset

func WithOffset(duration time.Duration) Option

func WithOffsetAsString

func WithOffsetAsString(d string) Option

Jump to

Keyboard shortcuts

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