metrics

package
v0.0.0-...-f0f184a Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordHandler

func RecordHandler() func(msg *proposal.MetricsMessage)

RecordHandler 指标处理

func RecordMetrics

func RecordMetrics(method, path string, success bool, httpCode 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
⌂ 换网址