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.
|
// QueriesResponse for GET /monitoring/postgres/queries.
|
||||||
type QueriesResponse struct {
|
type QueriesResponse struct {
|
||||||
CollectedAt time.Time `json:"collected_at"`
|
CollectedAt time.Time `json:"collected_at"`
|
||||||
Source string `json:"source"` // live | snapshot | unavailable
|
Source string `json:"source"` // live | snapshot | unavailable
|
||||||
Items []QueryStat `json:"items"`
|
Items []QueryStat `json:"items"`
|
||||||
StatementsAvailable bool `json:"statements_available"`
|
StatementsAvailable bool `json:"statements_available"`
|
||||||
StatementsHint string `json:"statements_hint,omitempty"`
|
StatementsHint string `json:"statements_hint,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// LockRow describes a lock / blocking session.
|
// LockRow describes a lock / blocking session.
|
||||||
|
|||||||
Reference in New Issue
Block a user