metrics

package
v1.13.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 6 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHttpHandler

func GetHttpHandler() http.Handler

GetHttpHandler 获取 handler

func GetRegistry

func GetRegistry() *prometheus.Registry

func InitMetrics

func InitMetrics()

func ReportDropInstanceRegisTask

func ReportDropInstanceRegisTask()

ReportDropInstanceRegisTask Record the number of registered tasks discarded

func ReportInstanceRegisCost

func ReportInstanceRegisCost(cost time.Duration)

ReportInstanceRegisCost Total time to report the short-term registered task of the reporting instance

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL