A couple of additional remarks on the readme.
This commit is contained in:
parent
20dd20963c
commit
972530b05e
1 changed files with 10 additions and 1 deletions
11
readme.md
11
readme.md
|
|
@ -12,7 +12,9 @@ several queries and measure how long it takes for results to come back to your l
|
|||
pip install "git+file:///g:\shared drives\data drive\90 useful\trino_query_performance_gauge@master"```
|
||||
```
|
||||
|
||||
2. After, you need to make a config file. See below details on how to compose one.
|
||||
If not, you simply need to clone the repo somewhere in your machine and replace the path in the previous command.
|
||||
|
||||
2. Afterwards, you need to make a config file. See below details on how to compose one.
|
||||
|
||||
3. Once you have your config file ready, run the following command from the terminal.
|
||||
|
||||
|
|
@ -20,6 +22,13 @@ pip install "git+file:///g:\shared drives\data drive\90 useful\trino_query_perfo
|
|||
measure_query_performance --config my_config_file.json
|
||||
```
|
||||
|
||||
4. Results will be printed in your console as they are available. If instead you would like to store them in a file, a
|
||||
quick and easy hack is to redirect output in Powershell to a file. You can do it like this:
|
||||
|
||||
```commandline
|
||||
measure_query_performance --config my_config_file.json | Out-File - FilePath my_results.txt
|
||||
```
|
||||
|
||||
## Composing a config file
|
||||
|
||||
You can take a look at examples for different setups in `config_examples`. If you want to make a new config file, it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue