Documentation
¶
Index ¶
- func CountFloat(ctx context.Context, name string, incr float64, attr ...observability.KeyValue) error
- func CountInt(ctx context.Context, name string, incr int64, attr ...observability.KeyValue) error
- func HistogramFloat(ctx context.Context, name string, incr float64, attr ...observability.KeyValue) error
- func HistogramInt(ctx context.Context, name string, incr int64, attr ...observability.KeyValue) error
- func RegisterAllocBytesObservable(ctx context.Context) error
- func RegisterBuckHashSysBytesObservable(ctx context.Context) error
- func RegisterFloatObservableCounter(ctx context.Context, name string, f observers.Float64Callback) error
- func RegisterFloatObservableGauge(ctx context.Context, name string, f observers.Float64Callback) error
- func RegisterFloatObservableUpDownCounter(ctx context.Context, name string, f observers.Float64Callback) error
- func RegisterFreesTotalObservable(ctx context.Context) error
- func RegisterGCCPUFractionObservable(ctx context.Context) error
- func RegisterGCDurationObservable(ctx context.Context) error
- func RegisterGCSysBytesObservable(ctx context.Context) error
- func RegisterGoRoutinesObservable(ctx context.Context) error
- func RegisterGoThreadsObservable(ctx context.Context) error
- func RegisterHeapAllocBytesObservable(ctx context.Context) error
- func RegisterHeapIdleBytesObservable(ctx context.Context) error
- func RegisterHeapInuseBytesObservable(ctx context.Context) error
- func RegisterHeapObjectsObservable(ctx context.Context) error
- func RegisterHeapReleasedBytesObservable(ctx context.Context) error
- func RegisterHeapSysBytesObservable(ctx context.Context) error
- func RegisterIntObservableCounter(ctx context.Context, name string, f observers.Int64Callback) error
- func RegisterIntObservableGauge(ctx context.Context, name string, f observers.Int64Callback) error
- func RegisterIntObservableUpDownCounter(ctx context.Context, name string, f observers.Int64Callback) error
- func RegisterLastGCTimeSecondsObservable(ctx context.Context) error
- func RegisterLookupsTotalObservable(ctx context.Context) error
- func RegisterMCacheInuseBytesObservable(ctx context.Context) error
- func RegisterMCacheSysBytesObservable(ctx context.Context) error
- func RegisterMSpanInuseBytesObservable(ctx context.Context) error
- func RegisterMSpanSysBytesObservable(ctx context.Context) error
- func RegisterMallocsTotalObservable(ctx context.Context) error
- func RegisterNextGCBytesObservable(ctx context.Context) error
- func RegisterOtherSysBytesObservable(ctx context.Context) error
- func RegisterProcessCPUTimeObservable(ctx context.Context) error
- func RegisterProcessMaxFDsObservable(ctx context.Context) error
- func RegisterProcessOpenFDsObservable(ctx context.Context) error
- func RegisterProcessResidentMemoryObservable(ctx context.Context) error
- func RegisterProcessStartTimeObservable(ctx context.Context) error
- func RegisterProcessVirtualMemoryMaxObservable(ctx context.Context) error
- func RegisterProcessVirtualMemoryObservable(ctx context.Context) error
- func RegisterStackInuseBytesObservable(ctx context.Context) error
- func RegisterStackSysBytesObservable(ctx context.Context) error
- func RegisterSysBytesObservable(ctx context.Context) error
- func RegisterThreadCountObservable(ctx context.Context) error
- func UpDownCountFloat(ctx context.Context, name string, incr float64, attr ...observability.KeyValue) error
- func UpDownCountInt(ctx context.Context, name string, incr int64, attr ...observability.KeyValue) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountFloat ¶
func HistogramFloat ¶
func HistogramInt ¶
func RegisterAllocBytesObservable ¶
summary go_memstats_alloc_bytes: Number of bytes allocated and still in use.
func RegisterBuckHashSysBytesObservable ¶
summary go_memstats_buck_hash_sys_bytes: Number of bytes used by the profiling bucket hash table.
func RegisterFreesTotalObservable ¶
summary go_memstats_frees_total: Total number of frees.
func RegisterGCCPUFractionObservable ¶
summary go_memstats_gc_cpu_fraction: The fraction of this program’s available CPU time used by the GC since the program started.
func RegisterGCDurationObservable ¶
summary go_gc_duration_seconds: A summary of the pause duration of garbage collection cycles.
func RegisterGCSysBytesObservable ¶
summary go_memstats_gc_sys_bytes: Number of bytes used for garbage collection system metadata.
func RegisterGoRoutinesObservable ¶
summary go_goroutines: Number of goroutines that currently exist.
func RegisterGoThreadsObservable ¶
summary go_threads: Number of OS threads created.
func RegisterHeapAllocBytesObservable ¶
summary go_memstats_heap_alloc_bytes: Number of heap bytes allocated and still in use.
func RegisterHeapIdleBytesObservable ¶
go_memstats_heap_idle_bytes: Number of heap bytes waiting to be used.
func RegisterHeapInuseBytesObservable ¶
go_memstats_heap_inuse_bytes: Number of heap bytes that are in use.
func RegisterHeapObjectsObservable ¶
go_memstats_heap_objects: Number of allocated objects.
func RegisterHeapReleasedBytesObservable ¶
go_memstats_heap_released_bytes: Number of heap bytes released to OS.
func RegisterHeapSysBytesObservable ¶
go_memstats_heap_sys_bytes: Number of heap bytes obtained from the system.
func RegisterLastGCTimeSecondsObservable ¶
go_memstats_last_gc_time_seconds: Number of seconds since 1970 of the last garbage collection.
func RegisterLookupsTotalObservable ¶
go_memstats_lookups_total: Total number of pointer lookups.
func RegisterMCacheInuseBytesObservable ¶
go_memstats_mcache_inuse_bytes: Number of bytes in use by mcache structures.
func RegisterMCacheSysBytesObservable ¶
go_memstats_mcache_sys_bytes: Number of bytes used for mcache structures obtained from system.
func RegisterMSpanInuseBytesObservable ¶
go_memstats_mspan_inuse_bytes: Number of bytes in use by mspan structures.
func RegisterMSpanSysBytesObservable ¶
go_memstats_mspan_sys_bytes: Number of bytes used for mspan structures obtained from system.
func RegisterMallocsTotalObservable ¶
go_memstats_mallocs_total: Total number of mallocs.
func RegisterNextGCBytesObservable ¶
go_memstats_next_gc_bytes: Number of heap bytes when next garbage collection will take place.
func RegisterOtherSysBytesObservable ¶
go_memstats_other_sys_bytes: Number of bytes used for other system allocations.
func RegisterProcessCPUTimeObservable ¶
goruntime_process_cpu_seconds_total: Total user and system CPU time spent in seconds.
func RegisterProcessMaxFDsObservable ¶
goruntime_process_max_fds: Maximum number of open file descriptors.
func RegisterProcessOpenFDsObservable ¶
goruntime_process_open_fds: Number of open file descriptors.
func RegisterProcessResidentMemoryObservable ¶
goruntime_process_resident_memory_bytes: Resident memory size in bytes.
func RegisterProcessStartTimeObservable ¶
goruntime_process_start_time_seconds: Start time of the process since unix epoch in seconds.
func RegisterProcessVirtualMemoryMaxObservable ¶
goruntime_process_virtual_memory_max_bytes: Maximum amount of virtual memory available in bytes.
func RegisterProcessVirtualMemoryObservable ¶
goruntime_process_virtual_memory_bytes: Virtual memory size in bytes.
func RegisterStackInuseBytesObservable ¶
go_memstats_stack_inuse_bytes: Number of bytes in use by the stack allocator.
func RegisterStackSysBytesObservable ¶
go_memstats_stack_sys_bytes: Number of bytes obtained from the system for the stack allocator.
func RegisterSysBytesObservable ¶
go_memstats_sys_bytes: Number of bytes obtained from system.
func RegisterThreadCountObservable ¶
go_threads: Number of OS threads created.
func UpDownCountFloat ¶
func UpDownCountInt ¶
Types ¶
This section is empty.