Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Version, _ = tag.NewKey("version")
Commit, _ = tag.NewKey("commit")
)
View Source
var ( VenusInfo = stats.Int64("info", "Arbitrary counter to tag venus info to", stats.UnitDimensionless) ChainNodeHeight = stats.Int64("chain/node_height", "Current Height of the node", stats.UnitDimensionless) )
View Source
var ( InfoView = &view.View{ Name: "info", Description: "Venus node information", Measure: VenusInfo, Aggregation: view.LastValue(), TagKeys: []tag.Key{Version, Commit}, } ChainNodeHeightView = &view.View{ Measure: ChainNodeHeight, Aggregation: view.LastValue(), } )
View Source
var DefaultViews = append([]*view.View{ InfoView, ChainNodeHeightView, }, rpcmetrics.DefaultViews...)
DefaultViews is an array of OpenCensus views for metric gathering purposes
Functions ¶
func SetupJaegerTracing ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.