Documentation ¶
Index ¶
- func InitExposeMetrics(exposeMetricsAddress string)
- func InitPushMetrics(port, gatewayURL string)
- func NeedExposeMetrics() bool
- func NeedPushMetrics() bool
- func ReportBlockNumberGauge(exportedJob string)
- func ReportInsertionElapsedTime(exportedJob string)
- func ReportTxsNumberGauge(exportedJob string)
- func StartExposeMetrics()
- func UpdateBlockNumberGauge(blockNumber float64)
- func UpdateImpeachBlockNumberGauge(blockNumber float64)
- func UpdateInsertionElapsedTime(elapsed float64)
- func UpdateTxsNumberGauge(txsNumber float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitExposeMetrics ¶
func InitExposeMetrics(exposeMetricsAddress string)
func InitPushMetrics ¶
func InitPushMetrics(port, gatewayURL string)
func NeedExposeMetrics ¶
func NeedExposeMetrics() bool
func NeedPushMetrics ¶
func NeedPushMetrics() bool
func ReportBlockNumberGauge ¶
func ReportBlockNumberGauge(exportedJob string)
func ReportInsertionElapsedTime ¶
func ReportInsertionElapsedTime(exportedJob string)
func ReportTxsNumberGauge ¶
func ReportTxsNumberGauge(exportedJob string)
func StartExposeMetrics ¶
func StartExposeMetrics()
func UpdateBlockNumberGauge ¶
func UpdateBlockNumberGauge(blockNumber float64)
func UpdateImpeachBlockNumberGauge ¶
func UpdateImpeachBlockNumberGauge(blockNumber float64)
func UpdateInsertionElapsedTime ¶
func UpdateInsertionElapsedTime(elapsed float64)
func UpdateTxsNumberGauge ¶
func UpdateTxsNumberGauge(txsNumber float64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.