mirror of
https://github.com/hanzo-ds/native.git
synced 2026-10-30 20:00:34 +00:00
Module path, package names, and identifiers de-branded to native/proto/compress/ pool/tracing. Server wire-protocol strings preserved. Vendored codec surface used by hanzo-ds/go (proto + compress).
14 lines
331 B
Go
14 lines
331 B
Go
package tracing
|
|
|
|
import "github.com/hanzo-ds/native/internal/version"
|
|
|
|
// Version is the current release version of the ch instrumentation.
|
|
func Version() string {
|
|
return version.Get().Raw
|
|
}
|
|
|
|
// SemVersion is the semantic version to be supplied to tracer/meter creation.
|
|
func SemVersion() string {
|
|
return "semver:" + Version()
|
|
}
|