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(p *pool.Pool) *GateMetrics
NewGateMetrics creates new metrics for http 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) Unregister ¶
func (g *GateMetrics) Unregister()
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.