2023-09-07 19:55:58 -04:00
|
|
|
// Copyright The OpenTelemetry Authors
|
2024-11-01 09:10:09 -04:00
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2023-09-07 19:55:58 -04:00
|
|
|
|
2023-10-13 15:38:21 -04:00
|
|
|
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
|
2023-09-07 19:55:58 -04:00
|
|
|
|
|
|
|
// Version is the current release version of the otelhttp instrumentation.
|
|
|
|
func Version() string {
|
2024-11-01 09:10:09 -04:00
|
|
|
return "0.53.0"
|
2023-09-07 19:55:58 -04: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-12 10:26:50 -05:00
|
|
|
//
|
|
|
|
// Deprecated: Use [Version] instead.
|
2023-09-07 19:55:58 -04:00
|
|
|
func SemVersion() string {
|
2023-12-12 10:26:50 -05:00
|
|
|
return Version()
|
2023-09-07 19:55:58 -04:00
|
|
|
}
|