//
pkg.gl
Category
github.com/Akilan1999/Go-Metrics-Simple
collector
package
0.0.0-20220907145024-e4f994d17756
Repository:
https://github.com/akilan1999/go-metrics-simple.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
223 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.