metrics

package
v0.0.0-...-22ca28f Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordHandler

func RecordHandler(logger *zap.Logger) func(msg *proposal.MetricsMessage)

RecordHandler 指标处理

func RecordMetrics

func RecordMetrics(method, path string, success bool, httpCode, businessCode int, costSeconds float64, traceId string)

RecordMetrics 记录指标

Types

This section is empty.

Jump to

Keyboard shortcuts

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