promexporter

package
v0.0.0-...-846bdf4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package metric the function to export metrics to Prometheus

Package metric defines the type of metrics exporting to Prometheus

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetricTypes

func NewMetricTypes() map[string]string

NewMetricTypes parse the metric types from a yaml file

func ProduceRegister

func ProduceRegister() *prometheus.Registry

func UpdateMetrics

func UpdateMetrics(reg *prometheus.Registry,
	clusterResults map[string]float64, MetricTypes map[string]string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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