Fixed install command and quickstart example in readme.md

This commit is contained in:
Pablo Martin 2022-07-21 14:17:07 +02:00
parent dfb040cc57
commit 854ab881dd

View file

@ -8,8 +8,8 @@ several queries and measure how long it takes for results to come back to your l
1. First, you need to install the package in your Python installation or a virtual environment. If you have our Google 1. First, you need to install the package in your Python installation or a virtual environment. If you have our Google
Drive Shared Drive replicated locally, you can do it like this: Drive Shared Drive replicated locally, you can do it like this:
``` ```commandline
pip install g:\shared drives\data drive\90 useful\trino_query_performance_gauge 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. 2. After, you need to make a config file. See below details on how to compose one.
@ -17,7 +17,7 @@ pip install g:\shared drives\data drive\90 useful\trino_query_performance_gauge
3. Once you have your config file ready, run the following command from the terminal. 3. Once you have your config file ready, run the following command from the terminal.
```commandline ```commandline
trino_measure_query_performance --config my_config_file.json measure_query_performance --config my_config_file.json
``` ```
## Composing a config file ## Composing a config file
@ -36,4 +36,3 @@ A few notes:
- Queries are run sequentially, as in the second query will only start after the first query is finished. - Queries are run sequentially, as in the second query will only start after the first query is finished.
- For this to work, your local machine must have access and permission to the connection you are targeting, so - For this to work, your local machine must have access and permission to the connection you are targeting, so
remember to set up VPNs and other necessary configs properly. remember to set up VPNs and other necessary configs properly.
-