package
2.2.0+incompatible
Repository: https://github.com/erda-project/erda.git
Documentation: pkg.go.dev

# Functions

Metrics 返回单调递增的 openapi metrics.
New 创建 Monitor.
Notify 使用默认 Monitor 调用 Notify.
Stat 返回所收集的 openapi 状态.

# Constants

API40xCount api 4xx 次数.
API50xCount api 5xx 次数.
APIInvokeCount api 调用次数.
APIInvokeDuration api 调用时长.
AuthFail auth 失败.
AuthSucc auth 成功.
LastType InfoType 个数.

# Structs

Info monitor 使用处需要提供的信息.
Monitor monitor struct.

# Type aliases

InfoType metric 分类go:generate stringer -type=InfoType.