diff --git a/config_examples/mysql_config.json b/config_examples/legacy_full_config_file.json similarity index 100% rename from config_examples/mysql_config.json rename to config_examples/legacy_full_config_file.json diff --git a/config_examples/mysql_credentials_config.json b/config_examples/mysql_credentials_config.json new file mode 100644 index 0000000..31990dd --- /dev/null +++ b/config_examples/mysql_credentials_config.json @@ -0,0 +1,10 @@ +{ + "connection_details": { + "engine": "mysql", + "host": "the-sql-host", + "port": 3306, + "user": "your_user", + "password": "your_password", + "schema": "comprea" + } +} \ No newline at end of file diff --git a/config_examples/mysql_with_tunnel_config.json b/config_examples/mysql_credentials_with_tunnel_config.json similarity index 59% rename from config_examples/mysql_with_tunnel_config.json rename to config_examples/mysql_credentials_with_tunnel_config.json index 8510894..5c3a911 100644 --- a/config_examples/mysql_with_tunnel_config.json +++ b/config_examples/mysql_credentials_with_tunnel_config.json @@ -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'))" - } - ] + } } \ No newline at end of file diff --git a/config_examples/query_config_example.json b/config_examples/query_config_example.json new file mode 100644 index 0000000..bd256cf --- /dev/null +++ b/config_examples/query_config_example.json @@ -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'))" + } + ] +} \ No newline at end of file diff --git a/config_examples/trino_config.json b/config_examples/trino_config.json deleted file mode 100644 index 8cd8806..0000000 --- a/config_examples/trino_config.json +++ /dev/null @@ -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'))" - } - ] -} \ No newline at end of file diff --git a/config_examples/trino_credentials_config.json b/config_examples/trino_credentials_config.json new file mode 100644 index 0000000..68d1ab7 --- /dev/null +++ b/config_examples/trino_credentials_config.json @@ -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" + } +} \ No newline at end of file