Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // StartupTime stores how long the startup took (in seconds) StartupTime = promauto.NewGauge( prometheus.GaugeOpts{ Namespace: namespace, Subsystem: subsystem, Name: "startup_seconds", Help: "Seconds taken by the startup", }, ) // RPCTotalRequestDuration stores the processing time for every request RPCTotalRequestDuration = promauto.NewHistogram(prometheus.HistogramOpts{ Namespace: namespace, Subsystem: subsystem, Name: "rpc_total_request_duration_seconds", Help: "RPC request processing time for every request", }) // RPCSuccessfulRequestDuration stores the processing time for successful // requests partitioned by method RPCSuccessfulRequestDuration = promauto.NewHistogramVec(prometheus.HistogramOpts{ Namespace: namespace, Subsystem: subsystem, Name: "rpc_successful_request_duration_seconds", Help: "RPC request processing time for successful requests partitioned by method", }, []string{"method"}) // WSConnections keeps track of the number of currently established WS connections WSConnections = promauto.NewGauge( prometheus.GaugeOpts{ Namespace: namespace, Subsystem: subsystem, Name: "ws_connections", Help: "Current number of ws connections established with Marketstore", }, ) // WriteCSMDuration stores the WriteCSM call durations for writes // that didn't result in an error WriteCSMDuration = promauto.NewHistogram(prometheus.HistogramOpts{ Namespace: namespace, Subsystem: subsystem, Name: "write_csm_duration_seconds", Help: "WriteCSM call duration", Buckets: []float64{.0001, .001, .005, .01, .05, .1, .25, .5, 1}, }) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.