Documentation ¶
Index ¶
- type Data
- type Driver
- func (d *Driver) LogCount(clusterId string, conditions map[string]string, spendHour int64, group string) (map[string]int64, error)
- func (d *Driver) LogInfo(clusterId string, id string) (*log_driver.LogInfo, error)
- func (d *Driver) Logs(clusterId string, conditions map[string]string, start time.Time, end time.Time, ...) ([]*log_driver.Log, int64, error)
- type DriverConfig
- type LogCount
- type LogDetail
- type LogInfo
- type Param
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
type DriverConfig ¶
func (*DriverConfig) Check ¶
func (d *DriverConfig) Check() error
type LogDetail ¶
type LogDetail struct { Api string `json:"api"` Application string `json:"application"` Strategy string `json:"strategy"` ContentType string `json:"content_type"` Cluster string `json:"cluster"` Msec string `json:"msec"` Node string `json:"node"` RequestId string `json:"request_id"` RequestMethod string `json:"request_method"` RequestScheme string `json:"request_scheme"` RequestTime string `json:"request_time"` RequestUri string `json:"request_uri"` RequestBody string `json:"request_body"` ProxyBody string `json:"proxy_body"` ResponseBody string `json:"response_body"` ProxyResponseBody string `json:"proxy_response_body"` Service string `json:"service"` Provider string `json:"provider"` Authorization string `json:"authorization"` SrcIp string `json:"src_ip"` Status string `json:"status"` }
Click to show internal directories.
Click to hide internal directories.