Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResp ¶
type ErrorResp struct {
Error InnerError `json:"error"`
}
type InnerError ¶
type KairosDbClient ¶
type KairosDbClient struct {
// contains filtered or unexported fields
}
func NewKairosDbClient ¶
func NewKairosDbClient(addr string) (*KairosDbClient, error)
type OpenTsdbClient ¶
type OpenTsdbClient struct {
// contains filtered or unexported fields
}
func NewOpenTsdbClient ¶
func NewOpenTsdbClient(addr string, timeout time.Duration) (*OpenTsdbClient, error)
func (*OpenTsdbClient) Close ¶
func (c *OpenTsdbClient) Close() error
type QueryParams ¶
type QueryParams struct { Start interface{} `json:"start"` End interface{} `json:"end,omitempty"` Queries []Query `json:"queries,omitempty"` NoAnnotations bool `json:"no_annotations,omitempty"` GlobalAnnotations bool `json:"global_annotations,omitempty"` MsResolution bool `json:"ms,omitempty"` ShowTSUIDs bool `json:"show_tsuids,omitempty"` ShowSummary bool `json:"show_summary,omitempty"` ShowQuery bool `json:"show_query,omitempty"` Delete bool `json:"delete,omitempty"` }
Click to show internal directories.
Click to hide internal directories.