promql

package
v0.0.0-...-4cfe7e3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser parses raw promql expressions.

func (*Parser) ParseExpr

func (p *Parser) ParseExpr(s string) (*promqllint.Expr, error)

ParseExpr parses a raw promql expression. When the expression is invalid, the returned error will be a promqllint.ParseErr.

Jump to

Keyboard shortcuts

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