promtext

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: BSD-3-Clause Imports: 11 Imported by: 0

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,
	targetCheck *circonus.Check,
	logger zerolog.Logger,
	data io.Reader,
	check *circonus.Check,
	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,
	targetCheck *circonus.Check,
	logger zerolog.Logger,
	data io.Reader,
	check *circonus.Check,
	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.

Jump to

Keyboard shortcuts

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