out

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var QueryTime int64

Functions

func Dump

func Dump(d schema.MetricDefinition)

func GetVegetaRender

func GetVegetaRender(addr, from string) func(d schema.MetricDefinition)

func GetVegetaRenderPattern

func GetVegetaRenderPattern(addr, from string) func(d schema.MetricDefinition)

func List

func List(d schema.MetricDefinition)

func Passthrough

func Passthrough(in string) string

func PatternCustomUsage

func PatternCustomUsage(indent string)

func ReplaceRandomConsecutiveCharsWildcard

func ReplaceRandomConsecutiveCharsWildcard(num int) func(in string) string

ReplaceRandomConsecutiveCharWildcard returns a function that will replace num consecutive random characters with wildcards note: it's also possible to produce patterns that won't match anything (if '.' was taken out) note: assumes string is long enough

func ReplaceRandomConsecutiveNodesWildcard

func ReplaceRandomConsecutiveNodesWildcard(num int) func(in string) string

ReplaceRandomConsecutiveNodesWildcard returns a function that will replace num consecutive random nodes with wildcards the implementation is rather naive and can be optimized

func Template

func Template(format string) func(d schema.MetricDefinition)

Types

This section is empty.

Jump to

Keyboard shortcuts

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