Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ESEscape ¶
ESEscape escapes out "." characters which are illegal in fieldnames in es 2.x This turns existing "_" characters into double "__" characters, and then turns "." characters into "_" characters
func KeyToMetric ¶
KeyToMetric produces a Vulcan metric for a consistent key.
func MetricToKey ¶
MetricToKey creates a consistent key for a metric. It piggy-backs off the property that golang json package sorts map keys while marshalling https://golang.org/src/encoding/json/encode.go#L615
func PromTextToSG ¶
func PromTextToSG(in io.Reader) (bus.SampleGroup, error)
PromTextToSG reads prometheus metrics in text exposition format and produces a SampleGroup
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.