Page History
This release offers the complete functionality for the SkySQL previous release database-as-a-service from MariaDB. Most of the functionality for SQL Diagnostic Manager for MySQL already works with SkySQL . SkySQL provides an API for downloading the log file data and to fetch OS information. Log file includes Audit Log, Slow Query Log and Error Log.
Steps to view the log files and OS information:
1. Before using
...
SkySQL OS and Log Monitoring, generate a SkySQL API Key
...
:
https://mariadb.com/docs/skysql-previous-release/security/api-key/#Generate_a_SkySQL_API_Key
Please make Make sure the Observability API scopes are enabled for your API Key, as described here:
https://mariadb.com/docs/skysql-previous-release/security/api-key/#SkySQL_API_Key_Scopes
Note |
---|
Note: These links and documentation are part of MariaDB SkySQL previous release documentation. We are employing the MariaDB SkySQL new release API, as all MariaDB SkySQL services are either new release or currently in process of migration to new release, but there is no SkySQL new release API documentation published yet. |
2. Obtain the Server Datasource ID for each node you want to monitor in SQL DM:
- Open the MariaDB SkySQL dashboard, accessible via https://skysql.mariadb.com/dashboard
- Click
...
- the service (
...
- for example testsqldm) to view the nodes running this service:
...
- In the Connect window, you need the node name
...
- (for example testsqldm-mdb-ms-0) and
...
- username
...
- (for example dbpwf25657325):
- To make up your Server Datasource ID in the format:
...
- username/node_name
For our example this
...
is dbpwf25657325/testsqldm-mdb-ms-0
3. Enable the System Metrics feature for
...
the MariaDB SkySQL server connection and fill
...
the Server Datasource ID and API Key from previous steps:
For any of
4. For MariaDB Error Log, MariaDB Query Log, and Audit Log
...
, enable
...
the SkySQL API by selecting the SkySQL (Using API) option from READ FILE FROM dropdown:
And fill your Type the Server Datasource ID and SKYSQL API Key you got from the first steps: