build

package
v1.31.21 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName = "weaviate"
)

Variables

View Source
var (
	// Version is Weviate's version. e.g: 1.26.4.
	// We usually read it from `openapi-specs/schema.json` in this repository.
	Version string

	// Revision represents the GIT commit of the build.
	Revision string

	// Branch is the GIT branch of the build.
	Branch string

	// BuildUser represents who triggered the build.
	// Usually something like `$(whoami)@$(hostname)`
	BuildUser string

	// BuildDate represents build date and time of the build.
	BuildDate string

	// GoVersion represents the Go compiler version used in the build
	GoVersion string
)

These package level variables are set during build time via ldflags -X Also these information are passed to prometheus version package so that it's available in `weaviate_build_info` metric

Functions

func SetPrometheusBuildInfo

func SetPrometheusBuildInfo()

Types

This section is empty.

Jump to

Keyboard shortcuts

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