build

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   string
	Revision  string
	Branch    string
	BuildUser string
	BuildDate string
	GoVersion 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 Phlare path, and pass it to Prometheus in the code.

Functions

func BuildInfoHandler

func BuildInfoHandler(rw http.ResponseWriter, req *http.Request)

func GetVersion

func GetVersion() prom.PrometheusVersion

Types

This section is empty.

Jump to

Keyboard shortcuts

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