이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Prerequisites

OpenTelemetry SDK configuration

OpenTelemetry (OTel) Go applications are instrumented manually. To enable runtime metrics, see the documentation for the runtime package.

Runtime metric mappings

The following table lists the Datadog runtime metrics that are supported by mapping OpenTelemetry runtime metrics, with “N/A” indicating that there is no OpenTelemetry counterpart.

Datadog metricDescriptionOpenTelemetry counterpart
runtime.go.num_goroutineNumber of goroutines spawned.process.runtime.go.goroutines
runtime.go.num_cgo_callNumber of CGO calls made.process.runtime.go.cgo.calls
runtime.go.mem_stats.lookupsNumber of pointer lookups performed by the runtime.process.runtime.go.mem.lookups
runtime.go.mem_stats.heap_allocBytes of allocated heap objects.process.runtime.go.mem.heap_alloc
runtime.go.mem_stats.heap_sysBytes of heap memory obtained from the operating system.process.runtime.go.mem.heap_sys
runtime.go.mem_stats.heap_idleBytes in idle (unused) spans.process.runtime.go.mem.heap_idle
runtime.go.mem_stats.heap_inuseBytes in in-use spans.process.runtime.go.mem.heap_inuse
runtime.go.mem_stats.heap_releasedBytes of physical memory returned to the operating system.process.runtime.go.mem.heap_released
runtime.go.mem_stats.heap_objectsNumber of allocated heap objects.process.runtime.go.mem.heap_objects
runtime.go.mem_stats.pause_total_nsCumulative nanoseconds in garbage collection (GC).process.runtime.go.gc.pause_total_ns
runtime.go.mem_stats.num_gcNumber of completed GC cycles.process.runtime.go.gc.count
runtime.go.num_cpuNumber of CPUs detected by the runtime.N/A
runtime.go.mem_stats.allocBytes of allocated heap objects.N/A
runtime.go.mem_stats.total_allocCumulative bytes allocated for heap objects.N/A
runtime.go.mem_stats.sysTotal bytes of memory obtained from the operating system.N/A
runtime.go.mem_stats.mallocsCumulative count of heap objects allocated.N/A
runtime.go.mem_stats.freesCumulative count of heap objects freed.N/A
runtime.go.mem_stats.stack_inuseBytes in stack spans.N/A
runtime.go.mem_stats.stack_sysBytes of stack memory obtained from the operating system.N/A
runtime.go.mem_stats.m_span_inuseBytes of allocated mspan structures.N/A
runtime.go.mem_stats.m_span_sysBytes of memory obtained from the operating system for mspan structures.N/A
runtime.go.mem_stats.m_cache_inuseBytes of allocated mcache structures.N/A
runtime.go.mem_stats.m_cache_sysBytes of memory obtained from the operating system for mcache structures.N/A
runtime.go.mem_stats.buck_hash_sysBytes of memory in profiling bucket hash tables.N/A
runtime.go.mem_stats.gc_sysBytes of memory in garbage collection metadata.N/A
runtime.go.mem_stats.other_sysBytes of memory in miscellaneous off-heap.N/A
runtime.go.mem_stats.next_gcTarget heap size of the next GC cycle.N/A
runtime.go.mem_stats.last_gcLast garbage collection finished, as nanoseconds since the UNIX epoch.N/A
runtime.go.mem_stats.num_forced_gcNumber of GC cycles that were forced by the application calling the GC function.N/A
runtime.go.mem_stats.gc_cpu_fractionFraction of this program’s available CPU time used by the GC since the program started.N/A
runtime.go.gc_stats.pause_quantiles.minDistribution of GC pause times: minimum values.N/A
runtime.go.gc_stats.pause_quantiles.25pDistribution of GC pause times: 25th percentile.N/A
runtime.go.gc_stats.pause_quantiles.50pDistribution of GC pause times: 50th percentile.N/A
runtime.go.gc_stats.pause_quantiles.75pDistribution of GC pause times: 75th percentile.N/A
runtime.go.gc_stats.pause_quantiles.maxDistribution of GC pause times: maximum values.N/A
PREVIEWING: rtrieu/product-analytics-ui-changes