mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 22:22:46 +00:00
new docs
This commit is contained in:
1 parent
3cebaf7fa5
commit
b5eba8423f
229 files changed
+6238
-10690
No files matched your search
@@ -0,0 +1,45 @@
|
||||
---
|
||||
title: Using the debug UI
|
||||
---
|
||||
|
||||
import { Callout } from 'nextra/components';
|
||||
|
||||
The debug UI lets you easily see all the queries that have been executed by resources, query response times, and per-resource statistics.
|
||||
You should only enable this during production, or with a small player count - for larger servers, look into builtin MySQL logging.
|
||||
|
||||
Before using the UI first you have to make sure you have the `mysql_ui` convar set to true:
|
||||
|
||||
```bash
|
||||
set mysql_ui true
|
||||
```
|
||||
|
||||
Also make sure that you have `command` or `command.mysql` ace permission access, then you should be able to use the `mysql` command in game.
|
||||
|
||||
<Callout type="info">
|
||||
|
||||
You _do not_ need to have the `mysql_debug` enabled to use the debug ui.
|
||||
|
||||
</Callout>
|
||||
|
||||
## Main page
|
||||
|
||||
The main page shows you the resources that ran queries where you can filter them through a search bar, your general data
|
||||
along side a pie chart which shows what resources took the most query time.
|
||||
|
||||

|
||||
|
||||
## Resource page
|
||||
|
||||
The resource page shows you all the queries and their execution time inside a table that the resource previously ran,
|
||||
alongside the total amount of the queries, execution time and slow queries for the selected resource.
|
||||
|
||||
Columns can be sorted by ascending and descending order, and hovering over a query will display the full query inside a tooltip.
|
||||
|
||||
<Callout type="info">
|
||||
|
||||
Queries that exceed `mysql_slow_query_warning` (default 150ms) are displayed in orange.
|
||||
For demonstation purposes the `mysql_slow_query_warning` convar was set to 5 here.
|
||||
|
||||
</Callout>
|
||||
|
||||

|
||||
Reference in new issue
Block a user