Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventMemoryTrackerUsage = "MemoryTrackerUsage" EventMemoryTrackerPeakUsage = "MemoryTrackerPeakUsage" EventOSCPUVirtualTimeMicroseconds = "OSCPUVirtualTimeMicroseconds" EventUserTimeMicroseconds = "UserTimeMicroseconds" SystemTimeMicroseconds = "SystemTimeMicroseconds" InterfaceNativeSendBytes = "InterfaceNativeSendBytes" ReadCompressedBytes = "ReadCompressedBytes" CompressedReadBufferBytes = "CompressedReadBufferBytes" SelectedRows = "SelectedRows" OSReadBytes = "OSReadBytes" FileOpen = "FileOpen" NetworkSendBytes = "NetworkSendBytes" )
Selected profile events.
Variables ¶
This section is empty.
Functions ¶
func SetTracker ¶
func SetTracker(t Tracker)
Types ¶
type TrackOption ¶
type TrackOption func(t *track)
TrackOption configures a [track].
func WithAttributes ¶
func WithAttributes(attrs ...attribute.KeyValue) TrackOption
WithAttributes sets attributes for the track.
type Tracker ¶
func GetTracker ¶
func GetTracker() Tracker
func NewNoopTracker ¶
func NewNoopTracker() Tracker
func NewTracker ¶
func NewTracker(meterProvider metric.MeterProvider, tracerProvider trace.TracerProvider) (Tracker, error)
Click to show internal directories.
Click to hide internal directories.