Documentation
¶
Index ¶
- func UpdateMetric(addr string) error
- type Metric
- func (m *Metric) AddConnectCount(delta int64)
- func (m *Metric) GetMetricAddress() string
- func (m *Metric) Output(output interface{})
- func (m *Metric) ProxyApiMetric(method string, ack bool, delay time.Duration)
- func (m *Metric) Run()
- func (m *Metric) SendMetric(url string, message proto.Message) error
- func (m *Metric) SlowLogMetric(slowLog string, delay time.Duration)
- func (m *Metric) StoreApiMetric(method string, ack bool, delay time.Duration)
- type SlowLog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateMetric ¶ added in v0.6.3
Types ¶
type Metric ¶
type Metric struct {
// contains filtered or unexported fields
}
var GsMetric *Metric
func (*Metric) AddConnectCount ¶
func (*Metric) GetMetricAddress ¶ added in v0.6.3
func (*Metric) ProxyApiMetric ¶
Click to show internal directories.
Click to hide internal directories.