trans_prometheus

package
v0.0.0-...-b8a1a0e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Prometheus = &PrometheusMap{}

Functions

func GenerateMap

func GenerateMap()

func GeneratePrometheusMap

func GeneratePrometheusMap()

Types

type AppLabel

type AppLabel struct {
	AppLabelName        string
	AppLabelColumnIndex int
}

type Label

type Label struct {
	LabelNameID int
	LabelValue  string
}

type PrometheusMap

type PrometheusMap struct {
	MetricNameToID       map[string]int
	MetricAppLabelLayout map[string][]AppLabel
	LabelNameToID        map[string]int
	LabelIDToName        map[int]string
}

Jump to

Keyboard shortcuts

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