package
Version:
v0.0.0-...-341ffff
Opens a new window with list of versions in this module.
Published: Aug 16, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package metricutil provides functions to push metrics to Prometheus Pushgateway.
Push metrics in background.
type Config struct {
PushJob string `json:"push_job" toml:"push_job"`
PushAddress string `json:"push_address" toml:"push_address"`
PushInterval typeutil.Duration `json:"push_interval" toml:"push_interval"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.