fix(pgmonitor): standardize field alignment in QueriesResponse struct
CI / changes (push) Successful in 7s
CI / commitlint (push) Has been skipped
CI / openapi (push) Has been skipped
CI / web (push) Has been skipped
CI / go (push) Successful in 54s
CI / bird2 (push) Successful in 15s
CI / release (push) Successful in 3m46s
CI / changes (push) Successful in 7s
CI / commitlint (push) Has been skipped
CI / openapi (push) Has been skipped
CI / web (push) Has been skipped
CI / go (push) Successful in 54s
CI / bird2 (push) Successful in 15s
CI / release (push) Successful in 3m46s
This commit is contained in:
@@ -71,11 +71,11 @@ type QueryStat struct {
|
||||
|
||||
// QueriesResponse for GET /monitoring/postgres/queries.
|
||||
type QueriesResponse struct {
|
||||
CollectedAt time.Time `json:"collected_at"`
|
||||
Source string `json:"source"` // live | snapshot | unavailable
|
||||
Items []QueryStat `json:"items"`
|
||||
StatementsAvailable bool `json:"statements_available"`
|
||||
StatementsHint string `json:"statements_hint,omitempty"`
|
||||
CollectedAt time.Time `json:"collected_at"`
|
||||
Source string `json:"source"` // live | snapshot | unavailable
|
||||
Items []QueryStat `json:"items"`
|
||||
StatementsAvailable bool `json:"statements_available"`
|
||||
StatementsHint string `json:"statements_hint,omitempty"`
|
||||
}
|
||||
|
||||
// LockRow describes a lock / blocking session.
|
||||
|
||||
Reference in New Issue
Block a user