Documentation ¶
Overview ¶
Package promtext parses prometheus text metrics
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueueMetrics ¶
func QueueMetrics( ctx context.Context, check *circonus.Check, logger zerolog.Logger, data io.Reader, parentStreamTags []string, parentMeasurementTags []string, ts *time.Time) error
QueueMetrics is a generic function to digest prometheus text format metrics and emit circonus formatted metrics. Formats supported: https://prometheus.io/docs/instrumenting/exposition_formats/
func StreamMetrics ¶
func StreamMetrics( ctx context.Context, check *circonus.Check, logger zerolog.Logger, data io.Reader, parentStreamTags []string, parentMeasurementTags []string, ts *time.Time) error
StreamMetrics is a generic function to digest prometheus text format metrics and emit circonus formatted metrics. Formats supported: https://prometheus.io/docs/instrumenting/exposition_formats/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.