mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* Move tracing install to pkg/tracing * Maintain composite version * Drop build references in favor of version
18 lines
385 B
Go
18 lines
385 B
Go
package build
|
|
|
|
import (
|
|
"github.com/prometheus/common/version"
|
|
prom "github.com/prometheus/prometheus/web/api/v1"
|
|
)
|
|
|
|
func GetVersion() prom.PrometheusVersion {
|
|
return prom.PrometheusVersion{
|
|
Version: version.Version,
|
|
Revision: version.Revision,
|
|
Branch: version.Branch,
|
|
BuildUser: version.BuildUser,
|
|
BuildDate: version.BuildDate,
|
|
GoVersion: version.GoVersion,
|
|
}
|
|
}
|