2021-08-09 07:19:24 +00:00
|
|
|
// Copyright The OpenTelemetry Authors
|
2024-08-19 08:01:33 +00:00
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2021-08-09 07:19:24 +00:00
|
|
|
|
2023-02-01 17:06:36 +00:00
|
|
|
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
|
2021-08-09 07:19:24 +00:00
|
|
|
|
2023-02-01 17:06:36 +00:00
|
|
|
// Version is the current release version of the otelhttp instrumentation.
|
2021-08-09 07:19:24 +00:00
|
|
|
func Version() string {
|
2024-08-19 08:01:33 +00:00
|
|
|
return "0.53.0"
|
2021-08-09 07:19:24 +00:00
|
|
|
// This string is updated by the pre_release.sh script during release
|
|
|
|
}
|
|
|
|
|
|
|
|
// SemVersion is the semantic version to be supplied to tracer/meter creation.
|
2023-12-18 20:31:00 +00:00
|
|
|
//
|
|
|
|
// Deprecated: Use [Version] instead.
|
2021-08-09 07:19:24 +00:00
|
|
|
func SemVersion() string {
|
2023-12-18 20:31:00 +00:00
|
|
|
return Version()
|
2021-08-09 07:19:24 +00:00
|
|
|
}
|