promver

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: MIT Imports: 6 Imported by: 0

README

promver

Export Golang Module information to Prometheus

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BuidInfo, _ = debug.ReadBuildInfo()
)

Build depedency information. Populated at build-time.

Functions

func Info

func Info() string

Info returns dependency versions

func NewCollector

func NewCollector(program string) *prometheus.GaugeVec

NewCollector returns a collector which exports metrics about current dependency information.

func Print

func Print(program string) string

Print returns version information.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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