Documentation ¶
Index ¶
- func GetUpdateMetricsInterval() time.Duration
- func RegisterUpdateMetricsFunctions(name string, f func(context.Context))
- func SetUpdateMetricsInterval(interval time.Duration)
- func UpdateBatchMetrics(ctx context.Context)
- func UpdateGraphMetrics(ctx context.Context)
- func UpdateMetrics(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUpdateMetricsInterval ¶
GetUpdateMetricsInterval gets interval
func RegisterUpdateMetricsFunctions ¶
RegisterUpdateMetricsFunctions allows you to register a function that will update prometheus metrics
func SetUpdateMetricsInterval ¶
SetUpdateMetricsInterval sets interval
func UpdateBatchMetrics ¶
UpdateBatchMetrics updates batch metrics
func UpdateGraphMetrics ¶
UpdateGraphMetrics updates graph metrics
func UpdateMetrics ¶
UpdateMetrics main update metrics process This process loops forever so it needs to be detached
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.