Versions in this module Expand all Collapse all v0 v0.2.1 Aug 15, 2017 v0.2.0 Jun 18, 2017 Changes in this version + type AgentHeartbeatRequest struct + Checksum string + Hostname string + func (this *AgentHeartbeatRequest) String() string + type AgentPluginsResponse struct + Plugins []string + Timestamp int64 + func (this *AgentPluginsResponse) String() string + type AgentReportRequest struct + AgentVersion string + Hostname string + IP string + PluginVersion string + func (this *AgentReportRequest) String() string + type AgentUpdateInfo struct + LastUpdate int64 + ReportRequest *AgentReportRequest + type BuiltinMetric struct + Metric string + Tags string + func (this *BuiltinMetric) String() string + type BuiltinMetricResponse struct + Checksum string + Metrics []*BuiltinMetric + Timestamp int64 + func (this *BuiltinMetricResponse) String() string + type BuiltinMetricSlice []*BuiltinMetric + func (this BuiltinMetricSlice) Len() int + func (this BuiltinMetricSlice) Less(i, j int) bool + func (this BuiltinMetricSlice) Swap(i, j int) + type Event struct + CurrentStep int + Endpoint string + EventTime int64 + Expression *Expression + Id string + LeftValue float64 + PushedTags map[string]string + Status string + Strategy *Strategy + func (this *Event) ActionId() int + func (this *Event) Counter() string + func (this *Event) ExpressionId() int + func (this *Event) FormattedTime() string + func (this *Event) Func() string + func (this *Event) MaxStep() int + func (this *Event) Metric() string + func (this *Event) Note() string + func (this *Event) Operator() string + func (this *Event) Priority() int + func (this *Event) RightValue() float64 + func (this *Event) StrategyId() int + func (this *Event) String() string + func (this *Event) Tpl() *Template + func (this *Event) TplId() int + type Expression struct + ActionId int + Func string + Id int + MaxStep int + Metric string + Note string + Operator string + Priority int + RightValue float64 + Tags map[string]string + func (this *Expression) String() string + type ExpressionResponse struct + Expressions []*Expression + type GraphAccurateQueryParam struct + Checksum string + ConsolFun string + DsType string + End int64 + Start int64 + Step int + type GraphAccurateQueryResponse struct + Values []*RRDData + type GraphDeleteParam struct + DsType string + Endpoint string + Metric string + Step int + Tags string + type GraphDeleteResp struct + type GraphFullyInfo struct + Addr string + ConsolFun string + Counter string + Endpoint string + Filename string + Step int + type GraphInfoParam struct + Counter string + Endpoint string + type GraphInfoResp struct + ConsolFun string + Filename string + Step int + type GraphItem struct + DsType string + Endpoint string + Heartbeat int + Max string + Metric string + Min string + Step int + Tags map[string]string + Timestamp int64 + Value float64 + func (t *GraphItem) Checksum() string + func (this *GraphItem) PrimaryKey() string + func (this *GraphItem) String() string + func (this *GraphItem) UUID() string + type GraphLastParam struct + Counter string + Endpoint string + type GraphLastResp struct + Counter string + Endpoint string + Value *RRDData + type GraphQueryParam struct + ConsolFun string + Counter string + End int64 + Endpoint string + Start int64 + Step int + type GraphQueryResponse struct + Counter string + DsType string + Endpoint string + Step int + Values []*RRDData + type HistoryData struct + Timestamp int64 + Value float64 + type Host struct + Id int + Name string + func (this *Host) String() string + type HostStrategy struct + Hostname string + Strategies []Strategy + type JsonFloat float64 + func (v JsonFloat) MarshalJSON() ([]byte, error) + type JsonMetaData struct + CounterType string + Endpoint string + Metric string + Step int64 + Tags string + Timestamp int64 + Value interface{} + func (t *JsonMetaData) String() string + type JudgeItem struct + Endpoint string + JudgeType string + Metric string + Tags map[string]string + Timestamp int64 + Value float64 + func (this *JudgeItem) PrimaryKey() string + func (this *JudgeItem) String() string + type MetaData struct + CounterType string + Endpoint string + Metric string + Step int64 + Tags map[string]string + Timestamp int64 + Value float64 + func (t *MetaData) PK() string + func (t *MetaData) String() string + type MetricValue struct + Endpoint string + Metric string + Step int64 + Tags string + Timestamp int64 + Type string + Value interface{} + func (this *MetricValue) String() string + type NodataConfig struct + Endpoint string + Id int + Metric string + Mock float64 + Name string + ObjType string + Step int64 + Tags map[string]string + Type string + func NewNodataConfig(id int, name string, objType string, endpoint string, metric string, ...) *NodataConfig + func (this *NodataConfig) String() string + type NodataItem struct + Counter string + FStatus string + FTs int64 + Ts int64 + func (this *NodataItem) String() string + type NullRpcRequest struct + type RRDData struct + Timestamp int64 + Value JsonFloat + func NewRRDData(ts int64, val float64) *RRDData + func (this *RRDData) String() string + type SimpleRpcResponse struct + Code int + func (this *SimpleRpcResponse) String() string + type StrategiesResponse struct + HostStrategies []*HostStrategy + type Strategy struct + Func string + Id int + MaxStep int + Metric string + Note string + Operator string + Priority int + RightValue float64 + Tags map[string]string + Tpl *Template + func (this *Strategy) String() string + type Template struct + ActionId int + Creator string + Id int + Name string + ParentId int + func (this *Template) String() string + type TransferResponse struct + Invalid int + Latency int64 + Message string + Total int + func (this *TransferResponse) String() string + type TsdbItem struct + Metric string + Tags map[string]string + Timestamp int64 + Value float64 + func (this *TsdbItem) String() string + func (this *TsdbItem) TsdbString() (s string)