| 1 |
// Copyright The OpenTelemetry Authors |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
// Package deprecatedruntime implements the deprecated runtime metrics for OpenTelemetry. |
| 5 |
// |
| 6 |
// The metric events produced are: |
| 7 |
// |
| 8 |
// runtime.go.cgo.calls - Number of cgo calls made by the current process |
| 9 |
// runtime.go.gc.count - Number of completed garbage collection cycles |
| 10 |
// runtime.go.gc.pause_ns (ns) Amount of nanoseconds in GC stop-the-world pauses |
| 11 |
// runtime.go.gc.pause_total_ns (ns) Cumulative nanoseconds in GC stop-the-world pauses since the program started |
| 12 |
// runtime.go.goroutines - Number of goroutines that currently exist |
| 13 |
// runtime.go.lookups - Number of pointer lookups performed by the runtime |
| 14 |
// runtime.go.mem.heap_alloc (bytes) Bytes of allocated heap objects |
| 15 |
// runtime.go.mem.heap_idle (bytes) Bytes in idle (unused) spans |
| 16 |
// runtime.go.mem.heap_inuse (bytes) Bytes in in-use spans |
| 17 |
// runtime.go.mem.heap_objects - Number of allocated heap objects |
| 18 |
// runtime.go.mem.heap_released (bytes) Bytes of idle spans whose physical memory has been returned to the OS |
| 19 |
// runtime.go.mem.heap_sys (bytes) Bytes of heap memory obtained from the OS |
| 20 |
// runtime.go.mem.live_objects - Number of live objects is the number of cumulative Mallocs - Frees |
| 21 |
// runtime.uptime (ms) Milliseconds since application was initialized |
| 22 |
package deprecatedruntime // import "go.opentelemetry.io/contrib/instrumentation/runtime/internal/deprecatedruntime" |