//
pkg.gl
Category
github.com/hayaking/go-runtime-metrics
collector
package
1.0.2
Repository:
https://github.com/hayaking/go-runtime-metrics.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
221 SLOC
#
Functions
New
New creates a new Collector that will periodically output statistics to fieldsFunc.
#
Structs
Collector
Collector implements the periodic grabbing of informational data from the runtime package and outputting the values to a GaugeFunc.
Fields
NOTE: uint64 is not supported by influxDB client due to potential overflows.
#
Type aliases
FieldsFunc
FieldsFunc represents a callback after successfully gathering statistics.