Skip to content
This repository was archived by the owner on Jun 12, 2020. It is now read-only.

Commit 17075d2

Browse files
committed
PCT-1290, PCT-1276: percent change of metrics for highload and slow queries
1 parent 0a4472d commit 17075d2

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

proto/reports/reports.go

+22-15
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,26 @@ type Queries struct {
5555
}
5656

5757
type Query struct {
58-
Distillate string
59-
Checksum string
60-
Fingerprint string
61-
FirstSeen string
62-
LastSeen string
63-
ClassId string
64-
Rank string // +x, -x, 0, new
65-
MetricSum float64
66-
MetricPct95 float64
67-
MetricAvg float64
68-
MetricMin float64
69-
MetricMax float64
70-
MetricCount int64
71-
Load float64 // Load of the query
72-
LoadPct float64 // Load of the query vs total load in given period
58+
Distillate string
59+
Checksum string
60+
Fingerprint string
61+
FirstSeen string
62+
LastSeen string
63+
ClassId int
64+
Rank string // +x, -x, 0, new
65+
MetricSum float64
66+
MetricSumChange float64
67+
MetricPct95 float64
68+
MetricPct95Change float64
69+
MetricAvg float64
70+
MetricAvgChange float64
71+
MetricMin float64
72+
MetricMinChange float64
73+
MetricMax float64
74+
MetricMaxChange float64
75+
MetricCount int64
76+
MetricCountChange float64
77+
Load float64 // Load of the query
78+
LoadPct float64 // Load of the query vs total load in given period
79+
LoadChange float64 // Change in load vs previous period
7380
}

0 commit comments

Comments
 (0)