Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GateMetrics ¶
type GateMetrics struct {
// contains filtered or unexported fields
}
func NewGateMetrics ¶
func NewGateMetrics(poolStat *stat.PoolStat) *GateMetrics
NewGateMetrics creates new metrics for rest gate.
func (*GateMetrics) Collect ¶
func (m *GateMetrics) Collect(ch chan<- prometheus.Metric)
func (GateMetrics) Describe ¶
func (m GateMetrics) Describe(descs chan<- *prometheus.Desc)
func (*GateMetrics) SetGWVersion ¶
func (g *GateMetrics) SetGWVersion(ver string)
type Service ¶
Service serves metrics.
func NewPprofService ¶
NewPprofService creates a new service for gathering pprof metrics.
func NewPrometheusService ¶
NewPrometheusService creates a new service for gathering prometheus metrics.
Click to show internal directories.
Click to hide internal directories.