collector

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildFQName

func BuildFQName(metric string) string

Types

type RblCollector

type RblCollector struct {
	// contains filtered or unexported fields
}

RblCollector object as a bridge to prometheus

func NewRblCollector

func NewRblCollector(rbls []string, targets []string, resolver string, logger *slog.Logger) *RblCollector

NewRblCollector ... creates the collector

func (*RblCollector) Collect

func (c *RblCollector) Collect(ch chan<- prometheus.Metric)

Collect ...

func (*RblCollector) Describe

func (c *RblCollector) Describe(ch chan<- *prometheus.Desc)

Describe ...

Jump to

Keyboard shortcuts

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