Documentation
¶
Index ¶
- type VmDbLoad
- type VmDbLoadOfSql
- type VmExaminationCommandOption
- type VmExaminationIndexResult
- type VmExaminationResult
- type VmIndexColumn
- type VmIndexTarget
- type VmMysqlExplainAnalyzeNode
- type VmOtelCompactTrace
- type VmOtelTraceSpan
- type VmPostgresExplainAnalyzeNode
- type VmTimeDbLoad
- type VmTimestamp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VmDbLoad ¶
type VmDbLoad struct {
Name string `json:"name"`
Sqls []*VmDbLoadOfSql `json:"sqls"`
}
func NewVmDbLoad ¶
type VmDbLoadOfSql ¶
type VmExaminationCommandOption ¶
type VmExaminationCommandOption struct {
IsShort bool `json:"isShort"`
Name string `json:"name"`
Value string `json:"value"`
}
func CreateOutputExaminationOption ¶
func CreateOutputExaminationOption(addPrefix bool, filename string) *VmExaminationCommandOption
type VmExaminationIndexResult ¶
type VmExaminationIndexResult struct {
ExecutionTimeMillis int64 `json:"executionTimeMillis"`
IndexTarget *VmIndexTarget `json:"indexTarget"`
}
type VmExaminationResult ¶
type VmExaminationResult struct {
OriginalTimeMillis int64 `json:"originalTimeMillis"`
IndexResults []*VmExaminationIndexResult `json:"indexResults"`
}
type VmIndexColumn ¶
type VmIndexColumn struct {
Name string `json:"name"`
}
type VmIndexTarget ¶
type VmIndexTarget struct {
TableName string `json:"tableName"`
Columns []*VmIndexColumn `json:"columns"`
}
type VmMysqlExplainAnalyzeNode ¶
type VmMysqlExplainAnalyzeNode struct {
Text string `json:"text"`
Title string `json:"title"`
TableName string `json:"tableName"`
EstimatedInitCost null.Float `json:"estimatedInitCost"`
EstimatedCost null.Float `json:"estimatedCost"`
EstimatedReturnedRows null.Int `json:"estimatedReturnedRows"`
ActualTimeFirstRow null.Float `json:"actualTimeFirstRow"`
ActualTimeAvg null.Float `json:"actualTimeAvg"`
ActualReturnedRows null.Int `json:"actualReturnedRows"`
ActualLoopCount null.Int `json:"actualLoopCount"`
Children []*VmMysqlExplainAnalyzeNode `json:"children"`
}
type VmOtelCompactTrace ¶ added in v0.0.2
type VmOtelCompactTrace struct {
TraceId string `json:"traceId"`
SameServiceAccessCount int `json:"sameServiceAccessCount"`
TimeConsumingServiceName string `json:"timeConsumingServiceName"`
Root *VmOtelTraceSpan `json:"root"`
}
type VmOtelTraceSpan ¶ added in v0.0.2
type VmPostgresExplainAnalyzeNode ¶
type VmPostgresExplainAnalyzeNode struct {
Text string `json:"text"`
Title string `json:"title"`
TableName string `json:"tableName"`
EstimatedInitCost null.Float `json:"estimatedInitCost"`
EstimatedCost null.Float `json:"estimatedCost"`
EstimatedReturnedRows null.Int `json:"estimatedReturnedRows"`
EstimatedWidth null.Int `json:"estimatedWidth"`
ActualTimeFirstRow null.Float `json:"actualTimeFirstRow"`
ActualTimeAvg null.Float `json:"actualTimeAvg"`
ActualReturnedRows null.Int `json:"actualReturnedRows"`
ActualLoopCount null.Int `json:"actualLoopCount"`
Children []*VmPostgresExplainAnalyzeNode `json:"children"`
}
type VmTimeDbLoad ¶
type VmTimeDbLoad struct {
Timestamp VmTimestamp `json:"timestamp"`
Databases []*VmDbLoad `json:"databases"`
}
func NewVmTimeDbLoad ¶
func NewVmTimeDbLoad(t time.Time) *VmTimeDbLoad
type VmTimestamp ¶
func (VmTimestamp) MarshalJSON ¶
func (t VmTimestamp) MarshalJSON() ([]byte, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.