# Functions
MetricSetFromAPI converts api.Metrics to a MetricSet, and returns it.
NewMetricSet returns a new MetricSet.
# Constants
CPUs represents the total number of effective CPUs.
CPUSecondsTotal represents the total CPU seconds used.
DiskReadBytesTotal represents the read bytes for a disk.
DiskReadsCompletedTotal represents the completed for a disk.
DiskWritesCompletedTotal represents the completed writes for a disk.
DiskWrittenBytesTotal represents the written bytes for a disk.
FilesystemAvailBytes represents the available bytes on a filesystem.
FilesystemFreeBytes represents the free bytes on a filesystem.
FilesystemSizeBytes represents the size in bytes of a filesystem.
GoAllocBytes represents the number of bytes allocated and still in use.
GoAllocBytesTotal represents the total number of bytes allocated, even if freed.
GoBuckHashSysBytes represents the number of bytes used by the profiling bucket hash table.
GoFreesTotal represents the total number of frees.
GoGCSysBytes represents the number of bytes used for garbage collection system metadata.
GoGoroutines represents the number of goroutines that currently exist..
GoHeapAllocBytes represents the number of heap bytes allocated and still in use.
GoHeapIdleBytes represents the number of heap bytes waiting to be used.
GoHeapInuseBytes represents the number of heap bytes that are in use.
GoHeapObjects represents the number of allocated objects.
GoHeapReleasedBytes represents the number of heap bytes released to OS.
GoHeapSysBytes represents the number of heap bytes obtained from system.
GoLookupsTotal represents the total number of pointer lookups.
GoMallocsTotal represents the total number of mallocs.
GoMCacheInuseBytes represents the number of bytes in use by mcache structures.
GoMCacheSysBytes represents the number of bytes used for mcache structures obtained from system.
GoMSpanInuseBytes represents the number of bytes in use by mspan structures.
GoMSpanSysBytes represents the number of bytes used for mspan structures obtained from system.
GoNextGCBytes represents the number of heap bytes when next garbage collection will take place.
GoOtherSysBytes represents the number of bytes used for other system allocations.
GoStackInuseBytes represents the number of bytes in use by the stack allocator.
GoStackSysBytes represents the number of bytes obtained from system for stack allocator.
GoSysBytes represents the number of bytes obtained from system.
MemoryActiveAnonBytes represents the amount of anonymous memory on active LRU list.
MemoryActiveBytes represents the amount of memory on active LRU list.
MemoryActiveFileBytes represents the amount of file-backed memory on active LRU list.
MemoryCachedBytes represents the amount of cached memory.
MemoryDirtyBytes represents the amount of memory waiting to get written back to the disk.
MemoryHugePagesFreeBytes represents the amount of free memory for hugetlb.
MemoryHugePagesTotalBytes represents the amount of used memory for hugetlb.
MemoryInactiveAnonBytes represents the amount of anonymous memory on inactive LRU list.
MemoryInactiveBytes represents the amount of memory on inactive LRU list.
MemoryInactiveFileBytes represents the amount of file-backed memory on inactive LRU list.
MemoryMappedBytes represents the amount of mapped memory.
MemoryMemAvailableBytes represents the amount of available memory.
MemoryMemFreeBytes represents the amount of free memory.
MemoryMemTotalBytes represents the amount of used memory.
MemoryOOMKillsTotal represents the amount of oom kills.
MemoryRSSBytes represents the amount of anonymous and swap cache memory.
MemoryShmemBytes represents the amount of cached filesystem data that is swap-backed.
MemorySwapBytes represents the amount of swap memory.
MemoryUnevictableBytes represents the amount of unevictable memory.
MemoryWritebackBytes represents the amount of memory queued for syncing to disk.
NetworkReceiveBytesTotal represents the amount of received bytes on a given interface.
NetworkReceiveDropTotal represents the amount of received dropped bytes on a given interface.
NetworkReceiveErrsTotal represents the amount of received errors on a given interface.
NetworkReceivePacketsTotal represents the amount of received packets on a given interface.
NetworkTransmitBytesTotal represents the amount of transmitted bytes on a given interface.
NetworkTransmitDropTotal represents the amount of transmitted dropped bytes on a given interface.
NetworkTransmitErrsTotal represents the amount of transmitted errors on a given interface.
NetworkTransmitPacketsTotal represents the amount of transmitted packets on a given interface.
OperationsTotal represents the number of running operations.
ProcsTotal represents the number of running processes.
UptimeSeconds represents the daemon uptime in seconds.
WarningsTotal represents the number of active warnings.
# Variables
MetricHeaders represents the metric headers which contain help messages as specified by OpenMetrics.
MetricNames associates a metric type to its name.
# Structs
CPUMetrics represents CPU metrics for an instance.
DiskMetrics represents disk metrics for an instance.
FilesystemMetrics represents filesystem metrics for an instance.
MemoryMetrics represents memory metrics for an instance.
Metrics represents instance metrics.
MetricSet represents a set of metrics.
NetworkMetrics represents network metrics for an instance.
A Sample represents an OpenMetrics sample containing labels and the value.
# Type aliases
MetricType is a numeric code identifying the metric.