Documentation ¶
Index ¶
- Variables
- func Dump(d schema.MetricDefinition)
- func GetVegetaRender(addr, from string) func(d schema.MetricDefinition)
- func GetVegetaRenderPattern(addr, from string) func(d schema.MetricDefinition)
- func List(d schema.MetricDefinition)
- func Passthrough(in string) string
- func PatternCustomUsage(indent string)
- func ReplaceRandomConsecutiveCharsWildcard(num int) func(in string) string
- func ReplaceRandomConsecutiveNodesWildcard(num int) func(in string) string
- func Template(format string) func(d schema.MetricDefinition)
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 PatternCustomUsage ¶
func PatternCustomUsage(indent string)
func ReplaceRandomConsecutiveCharsWildcard ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.