summaryrefslogtreecommitdiff
path: root/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/internal/deprecatedruntime/doc.go
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@noreply.codeberg.org>2025-05-06 08:18:05 +0000
committerLibravatar tobi <kipvandenbos@noreply.codeberg.org>2025-05-06 08:18:05 +0000
commit90a5425fe9776a18ea9a8d2b6ec98dc36a9117af (patch)
treefe6a0eb8569d369a8180cca24c9578b66cf8fef2 /vendor/go.opentelemetry.io/contrib/instrumentation/runtime/internal/deprecatedruntime/doc.go
parent[bugfix] Fixes to tablist, fileinput, checkbox (#4139) (diff)
downloadgotosocial-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/internal/deprecatedruntime/doc.go')
-rw-r--r--vendor/go.opentelemetry.io/contrib/instrumentation/runtime/internal/deprecatedruntime/doc.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/internal/deprecatedruntime/doc.go b/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/internal/deprecatedruntime/doc.go
new file mode 100644
index 000000000..9fb44efa8
--- /dev/null
+++ b/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/internal/deprecatedruntime/doc.go
@@ -0,0 +1,22 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Package deprecatedruntime implements the deprecated runtime metrics for OpenTelemetry.
+//
+// The metric events produced are:
+//
+// runtime.go.cgo.calls - Number of cgo calls made by the current process
+// runtime.go.gc.count - Number of completed garbage collection cycles
+// runtime.go.gc.pause_ns (ns) Amount of nanoseconds in GC stop-the-world pauses
+// runtime.go.gc.pause_total_ns (ns) Cumulative nanoseconds in GC stop-the-world pauses since the program started
+// runtime.go.goroutines - Number of goroutines that currently exist
+// runtime.go.lookups - Number of pointer lookups performed by the runtime
+// runtime.go.mem.heap_alloc (bytes) Bytes of allocated heap objects
+// runtime.go.mem.heap_idle (bytes) Bytes in idle (unused) spans
+// runtime.go.mem.heap_inuse (bytes) Bytes in in-use spans
+// runtime.go.mem.heap_objects - Number of allocated heap objects
+// runtime.go.mem.heap_released (bytes) Bytes of idle spans whose physical memory has been returned to the OS
+// runtime.go.mem.heap_sys (bytes) Bytes of heap memory obtained from the OS
+// runtime.go.mem.live_objects - Number of live objects is the number of cumulative Mallocs - Frees
+// runtime.uptime (ms) Milliseconds since application was initialized
+package deprecatedruntime // import "go.opentelemetry.io/contrib/instrumentation/runtime/internal/deprecatedruntime"