jmetrics

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

README

jmetrics

Some Prometheus crud

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LiteGaugeSummary

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

func NewLiteGaugeSummary

func NewLiteGaugeSummary(opts LiteGaugeSummaryOpts) *LiteGaugeSummary

func (*LiteGaugeSummary) Collect

func (s *LiteGaugeSummary) Collect(ch chan<- prometheus.Metric)

func (*LiteGaugeSummary) Describe

func (s *LiteGaugeSummary) Describe(ch chan<- *prometheus.Desc)

func (*LiteGaugeSummary) Observe

func (s *LiteGaugeSummary) Observe(x float64)

type LiteGaugeSummaryOpts

type LiteGaugeSummaryOpts struct {
	// As for usual Prometheus metrics
	Namespace, Subsystem, Name, Help string

	// As for usual Prometheus metrics
	ConstLabels prometheus.Labels
}

Jump to

Keyboard shortcuts

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