Help us shape the future of Go! Take the 2026 Go Developer Survey

promver

package module
v0.0.2 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

Overview

+build go1.12

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
+build go1.12
+build go1.12

Jump to

Keyboard shortcuts

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