Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Teingi committed Jul 2, 2024
1 parent e25431e commit f745fb4
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/analyze_sql.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## analyze sql

```bash
$ obdiag analyze sql [options]

Options:
--host=HOST tenant connection host
--port=PORT tenant connection port
--password=PASSWORD tenant connection user password
--user=USER tenant connection user name
--from=FROM specify the start of the time range. format: 'yyyy-mm-
dd hh:mm:ss'
--to=TO specify the end of the time range. format: 'yyyy-mm-dd
hh:mm:ss'
--since=SINCE Specify time range that from 'n' [d]ays, 'n' [h]ours or
'n' [m]inutes. before to now. format: <n> <m|h|d>.
example: 1h.
--level=LEVEL The alarm level, optional parameters [critical, warn,
notice, ok]
-c C obdiag custom config
-h, --help Show help and exit.
-v, --verbose Activate verbose output.
```
15 changes: 15 additions & 0 deletions docs/analyze_sql_review.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## analyze sql_review

```bash
$ obdiag analyze sql_review [options]

Options:
--host=HOST tenant connection host
--port=PORT tenant connection port
--password=PASSWORD tenant connection user password
--user=USER tenant connection user name
--files=FILES specify files
-c C obdiag custom config
-h, --help Show help and exit.
-v, --verbose Activate verbose output.
```

0 comments on commit f745fb4

Please sign in to comment.