| 1 |
// Copyright The OpenTelemetry Authors |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
package gcp // import "go.opentelemetry.io/contrib/detectors/gcp" |
| 5 |
|
| 6 |
// Version is the current release version of the GCP resource detector. |
| 7 |
func Version() string { |
| 8 |
return "1.43.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. |
| 15 |
func SemVersion() string { |
| 16 |
return Version() |
| 17 |
} |