version.go

 1// Copyright The OpenTelemetry Authors
 2// SPDX-License-Identifier: Apache-2.0
 3
 4package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
 5
 6// Version is the current release version of the otelhttp instrumentation.
 7func Version() string {
 8	return "0.54.0"
 9	// This string is updated by the pre_release.sh script during release
10}
11
12// SemVersion is the semantic version to be supplied to tracer/meter creation.
13//
14// Deprecated: Use [Version] instead.
15func SemVersion() string {
16	return Version()
17}