From 90a5425fe9776a18ea9a8d2b6ec98dc36a9117af Mon Sep 17 00:00:00 2001 From: Daenney Date: Tue, 6 May 2025 08:18:05 +0000 Subject: [chore] Add Go runtime and host metrics (#4137) Daenney is a dummy and forgot to add these when he revamped the OTEL stuff. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4137 Co-authored-by: Daenney Co-committed-by: Daenney --- .../contrib/instrumentation/runtime/version.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go (limited to 'vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go') diff --git a/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go b/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go new file mode 100644 index 000000000..6df851609 --- /dev/null +++ b/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go @@ -0,0 +1,17 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package runtime // import "go.opentelemetry.io/contrib/instrumentation/runtime" + +// Version is the current release version of the runtime instrumentation. +func Version() string { + return "0.60.0" + // This string is updated by the pre_release.sh script during release +} + +// SemVersion is the semantic version to be supplied to tracer/meter creation. +// +// Deprecated: Use [Version] instead. +func SemVersion() string { + return Version() +} -- cgit v1.2.3