Updated config examples.

This commit is contained in:
Pablo Martin 2022-08-22 15:05:54 +02:00
parent c8cc49a678
commit 10a7d379f2
6 changed files with 35 additions and 33 deletions

View file

@ -0,0 +1,10 @@
{
"connection_details": {
"engine": "mysql",
"host": "the-sql-host",
"port": 3306,
"user": "your_user",
"password": "your_password",
"schema": "comprea"
}
}

View file

@ -14,15 +14,5 @@
"path_to_key": "G:\\path\\to\\ssh\\key.pem",
"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'))"
}
]
}
}

View 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'))"
}
]
}

View file

@ -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'))"
}
]
}

View 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"
}
}