Updated config examples.
This commit is contained in:
parent
c8cc49a678
commit
10a7d379f2
6 changed files with 35 additions and 33 deletions
10
config_examples/mysql_credentials_config.json
Normal file
10
config_examples/mysql_credentials_config.json
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"connection_details": {
|
||||||
|
"engine": "mysql",
|
||||||
|
"host": "the-sql-host",
|
||||||
|
"port": 3306,
|
||||||
|
"user": "your_user",
|
||||||
|
"password": "your_password",
|
||||||
|
"schema": "comprea"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -14,15 +14,5 @@
|
||||||
"path_to_key": "G:\\path\\to\\ssh\\key.pem",
|
"path_to_key": "G:\\path\\to\\ssh\\key.pem",
|
||||||
"ssh_private_key_password": "my_keys_password"
|
"ssh_private_key_password": "my_keys_password"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"queries_to_measure": [
|
|
||||||
{
|
|
||||||
"name": "Fast Smoke Test",
|
|
||||||
"query_string": "SELECT 1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Delivered carts on a day",
|
|
||||||
"query_string": "select * from comprea.cart c where c.status = 'delivered' and c.date_delivered >= UNIX_TIMESTAMP(date('2022-05-24'))"
|
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
}
|
||||||
12
config_examples/query_config_example.json
Normal file
12
config_examples/query_config_example.json
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"queries_to_measure": [
|
||||||
|
{
|
||||||
|
"name": "Fast Smoke Test",
|
||||||
|
"query_string": "SELECT 1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Delivered carts on a day",
|
||||||
|
"query_string": "select * from comprea.cart c where c.status = 'delivered' and c.date_delivered >= UNIX_TIMESTAMP(date('2022-05-24'))"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
{
|
|
||||||
"connection_details": {
|
|
||||||
"engine": "trino",
|
|
||||||
"host": "the_trino_host",
|
|
||||||
"port": "443",
|
|
||||||
"user": "your_user",
|
|
||||||
"password": "your_password",
|
|
||||||
"http_scheme": "https",
|
|
||||||
"catalog": "app_lm_mysql",
|
|
||||||
"schema": "comprea"
|
|
||||||
},
|
|
||||||
"queries_to_measure": [
|
|
||||||
{
|
|
||||||
"name": "Fast Smoke Test",
|
|
||||||
"query_string": "SELECT * FROM system.runtime.nodes"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Delivered carts on a day",
|
|
||||||
"query_string": "select * from app_lm_mysql.comprea.cart c where c.status = 'delivered' and c.date_delivered >= to_unixtime(date('2022-05-24'))"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
12
config_examples/trino_credentials_config.json
Normal file
12
config_examples/trino_credentials_config.json
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"connection_details": {
|
||||||
|
"engine": "trino",
|
||||||
|
"host": "the_trino_host",
|
||||||
|
"port": "443",
|
||||||
|
"user": "your_user",
|
||||||
|
"password": "your_password",
|
||||||
|
"http_scheme": "https",
|
||||||
|
"catalog": "app_lm_mysql",
|
||||||
|
"schema": "comprea"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue