build

package
v0.37.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   string
	Revision  string
	Branch    string
	BuildUser string
	BuildDate string
)

Version information passed to Prometheus version package. Package path as used by linker changes based on vendoring being used or not, so it's easier just to use stable Agent path, and pass it to Prometheus in the code.

Functions

func NewCollector added in v0.33.1

func NewCollector(program string) prometheus.Collector

NewCollector returns a collector that exports metrics about current version information.

func Print added in v0.33.1

func Print(program string) string

Print returns version information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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