Documentation ¶
Index ¶
- func BulkSetTimeSeries(metrics string, input []interface{}) (int, error)
- func Close()
- func DeleteMetric(name string) (string, error)
- func GetFilterSeq(name string, filterList []string) ([]string, error)
- func GetMetric() (string, error)
- func GetMetricsTag(name string, target string, keyName string) (string, error)
- func InitRedis(network, address string)
- func ParseJson(data string) ([]interface{}, error)
- func ParseJsonHash(data string) (int64, float64, []string, error)
- func QueryData(q *Query) (string, error)
- func QueryTimeSeriesData(name string, start int64, stop int64, tagFilter []string, groupByTag []string, ...) (string, error)
- func SetData(data string) *error
- func SetTimeSeries(metrics string, value string, time int64) (int, error)
- type AggregatorType
- type AllTagSeqType
- type DataPoint
- type GeoData
- type GroupType
- type MetricType
- type OutputForm
- type Query
- type RelativeTime
- type ResultType
- type Sample
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BulkSetTimeSeries ¶
func DeleteMetric ¶
func QueryTimeSeriesData ¶
Types ¶
type AggregatorType ¶
type AllTagSeqType ¶
func GetMetricsTagSeq ¶
func GetMetricsTagSeq(name string, keyName string) AllTagSeqType
type DataPoint ¶
type DataPoint struct { Name string Value *json.Number Tags map[string]interface{} Timestamp *json.Number Location *GeoData `json:"Location,omitempty"` Datapoints [][]json.Number }
func ParseDataJson ¶
type MetricType ¶
type OutputForm ¶
type OutputForm struct {
Result ResultType
}
type Query ¶
type Query struct { StartAbsolute *json.Number EndAbsolute *json.Number StartRelative *RelativeTime EndRelative *RelativeTime TimeZone string Metric MetricType }
func ParseQueryJson ¶
type RelativeTime ¶
type ResultType ¶
Click to show internal directories.
Click to hide internal directories.