Documentation ¶
Index ¶
- func CounterToGauge(item *dataobj.MetricValue) *dataobj.MetricValue
- func CounterValue(metric string, val interface{}, tags ...string) *dataobj.MetricValue
- func GaugeValue(metric string, val interface{}, tags ...string) *dataobj.MetricValue
- func Meta(id int64) (script string, args string, account string, err error)
- func NewMetricValue(metric string, val interface{}, dataType string, tags ...string) *dataobj.MetricValue
- func Push(metricItems []*dataobj.MetricValue) error
- func SubtractToGauge(item *dataobj.MetricValue) *dataobj.MetricValue
- type RpcClientContainer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CounterToGauge ¶
func CounterToGauge(item *dataobj.MetricValue) *dataobj.MetricValue
func CounterValue ¶
func CounterValue(metric string, val interface{}, tags ...string) *dataobj.MetricValue
func GaugeValue ¶
func GaugeValue(metric string, val interface{}, tags ...string) *dataobj.MetricValue
func NewMetricValue ¶
func NewMetricValue(metric string, val interface{}, dataType string, tags ...string) *dataobj.MetricValue
func Push ¶
func Push(metricItems []*dataobj.MetricValue) error
func SubtractToGauge ¶
func SubtractToGauge(item *dataobj.MetricValue) *dataobj.MetricValue
Types ¶
type RpcClientContainer ¶
func (*RpcClientContainer) Del ¶
func (rcc *RpcClientContainer) Del(addr string)
Click to show internal directories.
Click to hide internal directories.