Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MetricRegistry = prometheus.NewRegistry()
)
Functions ¶
This section is empty.
Types ¶
type MetricPuller ¶
type MetricPuller struct {
// contains filtered or unexported fields
}
func (*MetricPuller) Report ¶
func (m *MetricPuller) Report()
type MetricPusher ¶
type MetricPusher struct {
Pusher
}
func (*MetricPusher) Report ¶
func (m *MetricPusher) Report()
type Metricer ¶
type Metricer interface {
Report()
}
func GetMetricPuller ¶
func GetMetricPuller() Metricer
func GetMetricPusher ¶
func GetMetricPusher() Metricer
type Monitor ¶
type Monitor struct {
Metricer
}
func (*Monitor) SetReportTunnel ¶
func (*Monitor) TraceMetric ¶
func (m *Monitor) TraceMetric()
Click to show internal directories.
Click to hide internal directories.