|
|
@ -112,9 +112,9 @@ class DbPanel extends Panel |
|
|
|
$this->_models[] = [ |
|
|
|
$this->_models[] = [ |
|
|
|
'type' => $this->detectQueryType($dbTiming['info']), |
|
|
|
'type' => $this->detectQueryType($dbTiming['info']), |
|
|
|
'query' => $dbTiming['info'], |
|
|
|
'query' => $dbTiming['info'], |
|
|
|
'duration' => ($dbTiming['duration'] * 1000), #in milliseconds |
|
|
|
'duration' => ($dbTiming['duration'] * 1000), // in milliseconds |
|
|
|
'trace' => $dbTiming['trace'], |
|
|
|
'trace' => $dbTiming['trace'], |
|
|
|
'timestamp' => $dbTiming['timestamp'], |
|
|
|
'timestamp' => ($dbTiming['timestamp'] * 1000), // in milliseconds |
|
|
|
'seq' => $seq, |
|
|
|
'seq' => $seq, |
|
|
|
]; |
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
|