Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StartTimeCtx = CtxKey("start-time")
StartTimeCtx context time value
Functions ¶
Types ¶
type Collector ¶
type Collector interface { Registry() *prometheus.Registry BeforeDo(next flow.BeforeManager) flow.BeforeManager AfterDo(next flow.AfterManager) flow.AfterManager BeforeNode(next flow.BeforeNode) flow.BeforeNode AfterNode(next flow.AfterNode) flow.AfterNode BeforeRollback(next flow.BeforeManager) flow.BeforeManager AfterRollback(next flow.AfterManager) flow.AfterManager }
Collector represents a middleware collector
func NewCollector ¶
NewCollector constructs a new prometheus collector
Click to show internal directories.
Click to hide internal directories.