promql

package
v0.0.0-...-9741fed Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOperator

func NewOperator(opType promql.ItemType) parser.Params

NewOperator creates a new operator based on the type

func NewSelectorFromMatrix

func NewSelectorFromMatrix(n *promql.MatrixSelector) parser.Params

NewSelectorFromMatrix creates a new fetchop

func NewSelectorFromVector

func NewSelectorFromVector(n *promql.VectorSelector) parser.Params

NewSelectorFromVector creates a new fetchop

func Parse

func Parse(q string) (parser.Parser, error)

Parse takes a promQL string and converts parses it into a DAG

Types

type ItemType

type ItemType int

ItemType which maps to ItemType in Prometheus. Note that this is temporary and once we decide we want to use this approach then we will just expose the item types in Prometheus code base

Jump to

Keyboard shortcuts

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