promtext

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: BSD-3-Clause Imports: 9 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,
	parser expfmt.TextParser,
	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/

Types

This section is empty.

Jump to

Keyboard shortcuts

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