package processconv
import "go.opentelemetry.io/otel/semconv/v1.39.0/processconv"
Package processconv provides types and functionality for OpenTelemetry semantic conventions in the "process" namespace.
Index ¶
- type CPUModeAttr
- type CPUTime
- func NewCPUTime( m metric.Meter, opt ...metric.Float64ObservableCounterOption, ) (CPUTime, error)
- func (CPUTime) AttrCPUMode(val CPUModeAttr) attribute.KeyValue
- func (CPUTime) Description() string
- func (m CPUTime) Inst() metric.Float64ObservableCounter
- func (CPUTime) Name() string
- func (CPUTime) Unit() string
- type CPUUtilization
- func NewCPUUtilization( m metric.Meter, opt ...metric.Int64GaugeOption, ) (CPUUtilization, error)
- func (CPUUtilization) AttrCPUMode(val CPUModeAttr) attribute.KeyValue
- func (CPUUtilization) Description() string
- func (m CPUUtilization) Inst() metric.Int64Gauge
- func (CPUUtilization) Name() string
- func (m CPUUtilization) Record( ctx context.Context, val int64, attrs ...attribute.KeyValue, )
- func (m CPUUtilization) RecordSet(ctx context.Context, val int64, set attribute.Set)
- func (CPUUtilization) Unit() string
- type ContextSwitchTypeAttr
- type ContextSwitches
- func NewContextSwitches( m metric.Meter, opt ...metric.Int64CounterOption, ) (ContextSwitches, error)
- func (m ContextSwitches) Add( ctx context.Context, incr int64, attrs ...attribute.KeyValue, )
- func (m ContextSwitches) AddSet(ctx context.Context, incr int64, set attribute.Set)
- func (ContextSwitches) AttrContextSwitchType(val ContextSwitchTypeAttr) attribute.KeyValue
- func (ContextSwitches) Description() string
- func (m ContextSwitches) Inst() metric.Int64Counter
- func (ContextSwitches) Name() string
- func (ContextSwitches) Unit() string
- type DiskIO
- func NewDiskIO( m metric.Meter, opt ...metric.Int64CounterOption, ) (DiskIO, error)
- func (m DiskIO) Add( ctx context.Context, incr int64, attrs ...attribute.KeyValue, )
- func (m DiskIO) AddSet(ctx context.Context, incr int64, set attribute.Set)
- func (DiskIO) AttrDiskIODirection(val DiskIODirectionAttr) attribute.KeyValue
- func (DiskIO) Description() string
- func (m DiskIO) Inst() metric.Int64Counter
- func (DiskIO) Name() string
- func (DiskIO) Unit() string
- type DiskIODirectionAttr
- type MemoryUsage
- func NewMemoryUsage( m metric.Meter, opt ...metric.Int64UpDownCounterOption, ) (MemoryUsage, error)
- func (m MemoryUsage) Add(ctx context.Context, incr int64, attrs ...attribute.KeyValue)
- func (m MemoryUsage) AddSet(ctx context.Context, incr int64, set attribute.Set)
- func (MemoryUsage) Description() string
- func (m MemoryUsage) Inst() metric.Int64UpDownCounter
- func (MemoryUsage) Name() string
- func (MemoryUsage) Unit() string
- type MemoryVirtual
- func NewMemoryVirtual( m metric.Meter, opt ...metric.Int64UpDownCounterOption, ) (MemoryVirtual, error)
- func (m MemoryVirtual) Add(ctx context.Context, incr int64, attrs ...attribute.KeyValue)
- func (m MemoryVirtual) AddSet(ctx context.Context, incr int64, set attribute.Set)
- func (MemoryVirtual) Description() string
- func (m MemoryVirtual) Inst() metric.Int64UpDownCounter
- func (MemoryVirtual) Name() string
- func (MemoryVirtual) Unit() string
- type NetworkIO
- func NewNetworkIO( m metric.Meter, opt ...metric.Int64CounterOption, ) (NetworkIO, error)
- func (m NetworkIO) Add( ctx context.Context, incr int64, attrs ...attribute.KeyValue, )
- func (m NetworkIO) AddSet(ctx context.Context, incr int64, set attribute.Set)
- func (NetworkIO) AttrNetworkIODirection(val NetworkIODirectionAttr) attribute.KeyValue
- func (NetworkIO) Description() string
- func (m NetworkIO) Inst() metric.Int64Counter
- func (NetworkIO) Name() string
- func (NetworkIO) Unit() string
- type NetworkIODirectionAttr
- type PagingFaults
- func NewPagingFaults( m metric.Meter, opt ...metric.Int64CounterOption, ) (PagingFaults, error)
- func (m PagingFaults) Add( ctx context.Context, incr int64, attrs ...attribute.KeyValue, )
- func (m PagingFaults) AddSet(ctx context.Context, incr int64, set attribute.Set)
- func (PagingFaults) AttrSystemPagingFaultType(val SystemPagingFaultTypeAttr) attribute.KeyValue
- func (PagingFaults) Description() string
- func (m PagingFaults) Inst() metric.Int64Counter
- func (PagingFaults) Name() string
- func (PagingFaults) Unit() string
- type SystemPagingFaultTypeAttr
- type ThreadCount
- func NewThreadCount( m metric.Meter, opt ...metric.Int64UpDownCounterOption, ) (ThreadCount, error)
- func (m ThreadCount) Add(ctx context.Context, incr int64, attrs ...attribute.KeyValue)
- func (m ThreadCount) AddSet(ctx context.Context, incr int64, set attribute.Set)
- func (ThreadCount) Description() string
- func (m ThreadCount) Inst() metric.Int64UpDownCounter
- func (ThreadCount) Name() string
- func (ThreadCount) Unit() string
- type UnixFileDescriptorCount
- func NewUnixFileDescriptorCount( m metric.Meter, opt ...metric.Int64UpDownCounterOption, ) (UnixFileDescriptorCount, error)
- func (m UnixFileDescriptorCount) Add(ctx context.Context, incr int64, attrs ...attribute.KeyValue)
- func (m UnixFileDescriptorCount) AddSet(ctx context.Context, incr int64, set attribute.Set)
- func (UnixFileDescriptorCount) Description() string
- func (m UnixFileDescriptorCount) Inst() metric.Int64UpDownCounter
- func (UnixFileDescriptorCount) Name() string
- func (UnixFileDescriptorCount) Unit() string
- type Uptime
- func NewUptime( m metric.Meter, opt ...metric.Float64GaugeOption, ) (Uptime, error)
- func (Uptime) Description() string
- func (m Uptime) Inst() metric.Float64Gauge
- func (Uptime) Name() string
- func (m Uptime) Record(ctx context.Context, val float64, attrs ...attribute.KeyValue)
- func (m Uptime) RecordSet(ctx context.Context, val float64, set attribute.Set)
- func (Uptime) Unit() string
- type WindowsHandleCount
- func NewWindowsHandleCount( m metric.Meter, opt ...metric.Int64UpDownCounterOption, ) (WindowsHandleCount, error)
- func (m WindowsHandleCount) Add(ctx context.Context, incr int64, attrs ...attribute.KeyValue)
- func (m WindowsHandleCount) AddSet(ctx context.Context, incr int64, set attribute.Set)
- func (WindowsHandleCount) Description() string
- func (m WindowsHandleCount) Inst() metric.Int64UpDownCounter
- func (WindowsHandleCount) Name() string
- func (WindowsHandleCount) Unit() string
Types ¶
type CPUModeAttr ¶
type CPUModeAttr string
CPUModeAttr is an attribute conforming to the cpu.mode semantic conventions. It represents a process SHOULD be characterized *either* by data points with no `mode` labels, *or only* data points with `mode` labels.
var ( // CPUModeUser is the user. CPUModeUser CPUModeAttr = "user" // CPUModeSystem is the system. CPUModeSystem CPUModeAttr = "system" // CPUModeNice is the nice. CPUModeNice CPUModeAttr = "nice" // CPUModeIdle is the idle. CPUModeIdle CPUModeAttr = "idle" // CPUModeIOWait is the IO Wait. CPUModeIOWait CPUModeAttr = "iowait" // CPUModeInterrupt is the interrupt. CPUModeInterrupt CPUModeAttr = "interrupt" // CPUModeSteal is the steal. CPUModeSteal CPUModeAttr = "steal" // CPUModeKernel is the kernel. CPUModeKernel CPUModeAttr = "kernel" )
type CPUTime ¶
type CPUTime struct {
metric.Float64ObservableCounter
}
CPUTime is an instrument used to record metric values conforming to the "process.cpu.time" semantic conventions. It represents the total CPU seconds broken down by different states.
func NewCPUTime ¶
NewCPUTime returns a new CPUTime instrument.
func (CPUTime) AttrCPUMode ¶
func (CPUTime) AttrCPUMode(val CPUModeAttr) attribute.KeyValue
AttrCPUMode returns an optional attribute for the "cpu.mode" semantic convention. It represents a process SHOULD be characterized *either* by data points with no `mode` labels, *or only* data points with `mode` labels.
func (CPUTime) Description ¶
Description returns the semantic convention description of the instrument
func (CPUTime) Inst ¶
func (m CPUTime) Inst() metric.Float64ObservableCounter
Inst returns the underlying metric instrument.
func (CPUTime) Name ¶
Name returns the semantic convention name of the instrument.
func (CPUTime) Unit ¶
Unit returns the semantic convention unit of the instrument
type CPUUtilization ¶
type CPUUtilization struct {
metric.Int64Gauge
}
CPUUtilization is an instrument used to record metric values conforming to the "process.cpu.utilization" semantic conventions. It represents the difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process.
func NewCPUUtilization ¶
func NewCPUUtilization( m metric.Meter, opt ...metric.Int64GaugeOption, ) (CPUUtilization, error)
NewCPUUtilization returns a new CPUUtilization instrument.
func (CPUUtilization) AttrCPUMode ¶
func (CPUUtilization) AttrCPUMode(val CPUModeAttr) attribute.KeyValue
AttrCPUMode returns an optional attribute for the "cpu.mode" semantic convention. It represents a process SHOULD be characterized *either* by data points with no `mode` labels, *or only* data points with `mode` labels.
func (CPUUtilization) Description ¶
func (CPUUtilization) Description() string
Description returns the semantic convention description of the instrument
func (CPUUtilization) Inst ¶
func (m CPUUtilization) Inst() metric.Int64Gauge
Inst returns the underlying metric instrument.
func (CPUUtilization) Name ¶
func (CPUUtilization) Name() string
Name returns the semantic convention name of the instrument.
func (CPUUtilization) Record ¶
Record records val to the current distribution for attrs.
All additional attrs passed are included in the recorded value.
func (CPUUtilization) RecordSet ¶
RecordSet records val to the current distribution for set.
func (CPUUtilization) Unit ¶
func (CPUUtilization) Unit() string
Unit returns the semantic convention unit of the instrument
type ContextSwitchTypeAttr ¶
type ContextSwitchTypeAttr string
ContextSwitchTypeAttr is an attribute conforming to the process.context_switch.type semantic conventions. It represents the specifies whether the context switches for this data point were voluntary or involuntary.
var ( // ContextSwitchTypeVoluntary is the standardized value "voluntary" of // ContextSwitchTypeAttr. ContextSwitchTypeVoluntary ContextSwitchTypeAttr = "voluntary" // ContextSwitchTypeInvoluntary is the standardized value "involuntary" of // ContextSwitchTypeAttr. ContextSwitchTypeInvoluntary ContextSwitchTypeAttr = "involuntary" )
type ContextSwitches ¶
type ContextSwitches struct {
metric.Int64Counter
}
ContextSwitches is an instrument used to record metric values conforming to the "process.context_switches" semantic conventions. It represents the number of times the process has been context switched.
func NewContextSwitches ¶
func NewContextSwitches( m metric.Meter, opt ...metric.Int64CounterOption, ) (ContextSwitches, error)
NewContextSwitches returns a new ContextSwitches instrument.
func (ContextSwitches) Add ¶
Add adds incr to the existing count for attrs.
All additional attrs passed are included in the recorded value.
func (ContextSwitches) AddSet ¶
AddSet adds incr to the existing count for set.
func (ContextSwitches) AttrContextSwitchType ¶
func (ContextSwitches) AttrContextSwitchType(val ContextSwitchTypeAttr) attribute.KeyValue
AttrContextSwitchType returns an optional attribute for the "process.context_switch.type" semantic convention. It represents the specifies whether the context switches for this data point were voluntary or involuntary.
func (ContextSwitches) Description ¶
func (ContextSwitches) Description() string
Description returns the semantic convention description of the instrument
func (ContextSwitches) Inst ¶
func (m ContextSwitches) Inst() metric.Int64Counter
Inst returns the underlying metric instrument.
func (ContextSwitches) Name ¶
func (ContextSwitches) Name() string
Name returns the semantic convention name of the instrument.
func (ContextSwitches) Unit ¶
func (ContextSwitches) Unit() string
Unit returns the semantic convention unit of the instrument
type DiskIO ¶
type DiskIO struct {
metric.Int64Counter
}
DiskIO is an instrument used to record metric values conforming to the "process.disk.io" semantic conventions. It represents the disk bytes transferred.
func NewDiskIO ¶
NewDiskIO returns a new DiskIO instrument.
func (DiskIO) Add ¶
Add adds incr to the existing count for attrs.
All additional attrs passed are included in the recorded value.
func (DiskIO) AddSet ¶
AddSet adds incr to the existing count for set.
func (DiskIO) AttrDiskIODirection ¶
func (DiskIO) AttrDiskIODirection(val DiskIODirectionAttr) attribute.KeyValue
AttrDiskIODirection returns an optional attribute for the "disk.io.direction" semantic convention. It represents the disk IO operation direction.
func (DiskIO) Description ¶
Description returns the semantic convention description of the instrument
func (DiskIO) Inst ¶
func (m DiskIO) Inst() metric.Int64Counter
Inst returns the underlying metric instrument.
func (DiskIO) Name ¶
Name returns the semantic convention name of the instrument.
func (DiskIO) Unit ¶
Unit returns the semantic convention unit of the instrument
type DiskIODirectionAttr ¶
type DiskIODirectionAttr string
DiskIODirectionAttr is an attribute conforming to the disk.io.direction semantic conventions. It represents the disk IO operation direction.
var ( // DiskIODirectionRead is the standardized value "read" of DiskIODirectionAttr. DiskIODirectionRead DiskIODirectionAttr = "read" // DiskIODirectionWrite is the standardized value "write" of // DiskIODirectionAttr. DiskIODirectionWrite DiskIODirectionAttr = "write" )
type MemoryUsage ¶
type MemoryUsage struct {
metric.Int64UpDownCounter
}
MemoryUsage is an instrument used to record metric values conforming to the "process.memory.usage" semantic conventions. It represents the amount of physical memory in use.
func NewMemoryUsage ¶
func NewMemoryUsage( m metric.Meter, opt ...metric.Int64UpDownCounterOption, ) (MemoryUsage, error)
NewMemoryUsage returns a new MemoryUsage instrument.
func (MemoryUsage) Add ¶
Add adds incr to the existing count for attrs.
func (MemoryUsage) AddSet ¶
AddSet adds incr to the existing count for set.
func (MemoryUsage) Description ¶
func (MemoryUsage) Description() string
Description returns the semantic convention description of the instrument
func (MemoryUsage) Inst ¶
func (m MemoryUsage) Inst() metric.Int64UpDownCounter
Inst returns the underlying metric instrument.
func (MemoryUsage) Name ¶
func (MemoryUsage) Name() string
Name returns the semantic convention name of the instrument.
func (MemoryUsage) Unit ¶
func (MemoryUsage) Unit() string
Unit returns the semantic convention unit of the instrument
type MemoryVirtual ¶
type MemoryVirtual struct {
metric.Int64UpDownCounter
}
MemoryVirtual is an instrument used to record metric values conforming to the "process.memory.virtual" semantic conventions. It represents the amount of committed virtual memory.
func NewMemoryVirtual ¶
func NewMemoryVirtual( m metric.Meter, opt ...metric.Int64UpDownCounterOption, ) (MemoryVirtual, error)
NewMemoryVirtual returns a new MemoryVirtual instrument.
func (MemoryVirtual) Add ¶
Add adds incr to the existing count for attrs.
func (MemoryVirtual) AddSet ¶
AddSet adds incr to the existing count for set.
func (MemoryVirtual) Description ¶
func (MemoryVirtual) Description() string
Description returns the semantic convention description of the instrument
func (MemoryVirtual) Inst ¶
func (m MemoryVirtual) Inst() metric.Int64UpDownCounter
Inst returns the underlying metric instrument.
func (MemoryVirtual) Name ¶
func (MemoryVirtual) Name() string
Name returns the semantic convention name of the instrument.
func (MemoryVirtual) Unit ¶
func (MemoryVirtual) Unit() string
Unit returns the semantic convention unit of the instrument
type NetworkIO ¶
type NetworkIO struct {
metric.Int64Counter
}
NetworkIO is an instrument used to record metric values conforming to the "process.network.io" semantic conventions. It represents the network bytes transferred.
func NewNetworkIO ¶
NewNetworkIO returns a new NetworkIO instrument.
func (NetworkIO) Add ¶
Add adds incr to the existing count for attrs.
All additional attrs passed are included in the recorded value.
func (NetworkIO) AddSet ¶
AddSet adds incr to the existing count for set.
func (NetworkIO) AttrNetworkIODirection ¶
func (NetworkIO) AttrNetworkIODirection(val NetworkIODirectionAttr) attribute.KeyValue
AttrNetworkIODirection returns an optional attribute for the "network.io.direction" semantic convention. It represents the network IO operation direction.
func (NetworkIO) Description ¶
Description returns the semantic convention description of the instrument
func (NetworkIO) Inst ¶
func (m NetworkIO) Inst() metric.Int64Counter
Inst returns the underlying metric instrument.
func (NetworkIO) Name ¶
Name returns the semantic convention name of the instrument.
func (NetworkIO) Unit ¶
Unit returns the semantic convention unit of the instrument
type NetworkIODirectionAttr ¶
type NetworkIODirectionAttr string
NetworkIODirectionAttr is an attribute conforming to the network.io.direction semantic conventions. It represents the network IO operation direction.
var ( // NetworkIODirectionTransmit is the standardized value "transmit" of // NetworkIODirectionAttr. NetworkIODirectionTransmit NetworkIODirectionAttr = "transmit" // NetworkIODirectionReceive is the standardized value "receive" of // NetworkIODirectionAttr. NetworkIODirectionReceive NetworkIODirectionAttr = "receive" )
type PagingFaults ¶
type PagingFaults struct {
metric.Int64Counter
}
PagingFaults is an instrument used to record metric values conforming to the "process.paging.faults" semantic conventions. It represents the number of page faults the process has made.
func NewPagingFaults ¶
func NewPagingFaults( m metric.Meter, opt ...metric.Int64CounterOption, ) (PagingFaults, error)
NewPagingFaults returns a new PagingFaults instrument.
func (PagingFaults) Add ¶
Add adds incr to the existing count for attrs.
All additional attrs passed are included in the recorded value.
func (PagingFaults) AddSet ¶
AddSet adds incr to the existing count for set.
func (PagingFaults) AttrSystemPagingFaultType ¶
func (PagingFaults) AttrSystemPagingFaultType(val SystemPagingFaultTypeAttr) attribute.KeyValue
AttrSystemPagingFaultType returns an optional attribute for the "system.paging.fault.type" semantic convention. It represents the paging fault type.
func (PagingFaults) Description ¶
func (PagingFaults) Description() string
Description returns the semantic convention description of the instrument
func (PagingFaults) Inst ¶
func (m PagingFaults) Inst() metric.Int64Counter
Inst returns the underlying metric instrument.
func (PagingFaults) Name ¶
func (PagingFaults) Name() string
Name returns the semantic convention name of the instrument.
func (PagingFaults) Unit ¶
func (PagingFaults) Unit() string
Unit returns the semantic convention unit of the instrument
type SystemPagingFaultTypeAttr ¶
type SystemPagingFaultTypeAttr string
SystemPagingFaultTypeAttr is an attribute conforming to the system.paging.fault.type semantic conventions. It represents the paging fault type.
var ( // SystemPagingFaultTypeMajor is the standardized value "major" of // SystemPagingFaultTypeAttr. SystemPagingFaultTypeMajor SystemPagingFaultTypeAttr = "major" // SystemPagingFaultTypeMinor is the standardized value "minor" of // SystemPagingFaultTypeAttr. SystemPagingFaultTypeMinor SystemPagingFaultTypeAttr = "minor" )
type ThreadCount ¶
type ThreadCount struct {
metric.Int64UpDownCounter
}
ThreadCount is an instrument used to record metric values conforming to the "process.thread.count" semantic conventions. It represents the process threads count.
func NewThreadCount ¶
func NewThreadCount( m metric.Meter, opt ...metric.Int64UpDownCounterOption, ) (ThreadCount, error)
NewThreadCount returns a new ThreadCount instrument.
func (ThreadCount) Add ¶
Add adds incr to the existing count for attrs.
func (ThreadCount) AddSet ¶
AddSet adds incr to the existing count for set.
func (ThreadCount) Description ¶
func (ThreadCount) Description() string
Description returns the semantic convention description of the instrument
func (ThreadCount) Inst ¶
func (m ThreadCount) Inst() metric.Int64UpDownCounter
Inst returns the underlying metric instrument.
func (ThreadCount) Name ¶
func (ThreadCount) Name() string
Name returns the semantic convention name of the instrument.
func (ThreadCount) Unit ¶
func (ThreadCount) Unit() string
Unit returns the semantic convention unit of the instrument
type UnixFileDescriptorCount ¶
type UnixFileDescriptorCount struct {
metric.Int64UpDownCounter
}
UnixFileDescriptorCount is an instrument used to record metric values conforming to the "process.unix.file_descriptor.count" semantic conventions. It represents the number of unix file descriptors in use by the process.
func NewUnixFileDescriptorCount ¶
func NewUnixFileDescriptorCount( m metric.Meter, opt ...metric.Int64UpDownCounterOption, ) (UnixFileDescriptorCount, error)
NewUnixFileDescriptorCount returns a new UnixFileDescriptorCount instrument.
func (UnixFileDescriptorCount) Add ¶
Add adds incr to the existing count for attrs.
func (UnixFileDescriptorCount) AddSet ¶
AddSet adds incr to the existing count for set.
func (UnixFileDescriptorCount) Description ¶
func (UnixFileDescriptorCount) Description() string
Description returns the semantic convention description of the instrument
func (UnixFileDescriptorCount) Inst ¶
func (m UnixFileDescriptorCount) Inst() metric.Int64UpDownCounter
Inst returns the underlying metric instrument.
func (UnixFileDescriptorCount) Name ¶
func (UnixFileDescriptorCount) Name() string
Name returns the semantic convention name of the instrument.
func (UnixFileDescriptorCount) Unit ¶
func (UnixFileDescriptorCount) Unit() string
Unit returns the semantic convention unit of the instrument
type Uptime ¶
type Uptime struct {
metric.Float64Gauge
}
Uptime is an instrument used to record metric values conforming to the "process.uptime" semantic conventions. It represents the time the process has been running.
func NewUptime ¶
NewUptime returns a new Uptime instrument.
func (Uptime) Description ¶
Description returns the semantic convention description of the instrument
func (Uptime) Inst ¶
func (m Uptime) Inst() metric.Float64Gauge
Inst returns the underlying metric instrument.
func (Uptime) Name ¶
Name returns the semantic convention name of the instrument.
func (Uptime) Record ¶
Record records val to the current distribution for attrs.
Instrumentations SHOULD use a gauge with type `double` and measure uptime in seconds as a floating point number with the highest precision available. The actual accuracy would depend on the instrumentation and operating system.
func (Uptime) RecordSet ¶
RecordSet records val to the current distribution for set.
Instrumentations SHOULD use a gauge with type `double` and measure uptime in seconds as a floating point number with the highest precision available. The actual accuracy would depend on the instrumentation and operating system.
func (Uptime) Unit ¶
Unit returns the semantic convention unit of the instrument
type WindowsHandleCount ¶
type WindowsHandleCount struct {
metric.Int64UpDownCounter
}
WindowsHandleCount is an instrument used to record metric values conforming to the "process.windows.handle.count" semantic conventions. It represents the number of handles held by the process.
func NewWindowsHandleCount ¶
func NewWindowsHandleCount( m metric.Meter, opt ...metric.Int64UpDownCounterOption, ) (WindowsHandleCount, error)
NewWindowsHandleCount returns a new WindowsHandleCount instrument.
func (WindowsHandleCount) Add ¶
Add adds incr to the existing count for attrs.
func (WindowsHandleCount) AddSet ¶
AddSet adds incr to the existing count for set.
func (WindowsHandleCount) Description ¶
func (WindowsHandleCount) Description() string
Description returns the semantic convention description of the instrument
func (WindowsHandleCount) Inst ¶
func (m WindowsHandleCount) Inst() metric.Int64UpDownCounter
Inst returns the underlying metric instrument.
func (WindowsHandleCount) Name ¶
func (WindowsHandleCount) Name() string
Name returns the semantic convention name of the instrument.
func (WindowsHandleCount) Unit ¶
func (WindowsHandleCount) Unit() string
Unit returns the semantic convention unit of the instrument
Source Files ¶
metric.go
- Version
- v1.41.0
- Published
- Mar 2, 2026
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 3 hours ago –
Tools for package owners.