metrics

package
v0.0.0-...-7dd01ac Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metric

type Metric struct {
	PatchVersions float64
	MinorVersions float64
	MajorVersions float64
	Repository    string
	Labels        map[string]string
}

type PrometheusEmitter

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

func NewPrometheusEmitter

func NewPrometheusEmitter() PrometheusEmitter

func (PrometheusEmitter) Emit

func (pe PrometheusEmitter) Emit(metric Metric)

Jump to

Keyboard shortcuts

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