metrics

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package Metrics

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatData added in v0.1.5

func FormatData(mf map[string]*dto.MetricFamily, jobLabel string) *prompb.WriteRequest

FormatData convert metric family to a writerequest

func ParseAndFormat

func ParseAndFormat(input io.Reader, jobLabel string) (*prompb.WriteRequest, error)

ParseAndFormat return the data in the expected prometheus metrics write request format

Types

This section is empty.

Jump to

Keyboard shortcuts

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