diff options
| author | 2025-05-06 08:18:05 +0000 | |
|---|---|---|
| committer | 2025-05-06 08:18:05 +0000 | |
| commit | 90a5425fe9776a18ea9a8d2b6ec98dc36a9117af (patch) | |
| tree | fe6a0eb8569d369a8180cca24c9578b66cf8fef2 /vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go | |
| parent | [bugfix] Fixes to tablist, fileinput, checkbox (#4139) (diff) | |
| download | gotosocial-90a5425fe9776a18ea9a8d2b6ec98dc36a9117af.tar.xz | |
[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 <daenney@noreply.codeberg.org>
Co-committed-by: Daenney <daenney@noreply.codeberg.org>
Diffstat (limited to 'vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go')
| -rw-r--r-- | vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go | 17 |
1 files changed, 17 insertions, 0 deletions
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() +} |
