prometheus

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MetricsUrl         string                // MetricsUrl is the URL to the Prometheus metrics endpoint
	MetricsCredentials types.CredentialsType // MetricsCredentials is the credentials to access the Prometheus metrics endpoint

)

Functions

func BuildMetrics

func BuildMetrics(payload []string) []datadogV2.MetricSeries

func SplitTags

func SplitTags(data string) []types.TagsType

SplitTags splits the tags from a Prometheus metric into a slice of tags

Types

This section is empty.

Jump to

Keyboard shortcuts

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