Skip to content

Commit 492d412

Browse files
committed
new changes accommodated
1 parent 4275f57 commit 492d412

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

articles/mysql/flexible-server/concepts-error-logs.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ ms.date: 12/15/2023
1616
In Azure Database for MySQL - Flexible Server, the error log is available to users to configure and access. Error logs in MySQL gather diagnostic messages during server startup and shutdown, and while the server is running, information that can help proactive troubleshooting. For more information about the MySQL error log, see the [Error log](https://dev.mysql.com/doc/refman/8.0/en/error-log.html) section in the MySQL documentation.
1717
Under Preview phase, error logs are available under Server logs only, error logs **can't be emitted** to [Azure Diagnostic logs](./../../azure-monitor/essentials/platform-logs-overview.md).
1818

19-
>[!Note]
20-
>The Error Log feature is accessible for new servers created after *November 14, 2023, 00:00 UTC*. For existing servers, this feature will become available following their scheduled maintenance in January 2024. [Learn more about scheduled maintainence](./concepts-maintenance.md) on your server. To enable the Error Log feature on existing servers, before the scheduled maintainence, kindly contact us via [support ticket](./../../azure-portal/supportability/how-to-manage-azure-support-request.md).
21-
2219
In Azure Database for MySQL - Flexible Server, enabling the error log under [Server logs](./concepts-monitoring.md#server-logs) in the Azure portal records details in multiple files named using the syntax *mysql-error-servername-timestamp.log*. In the file name, the timestamp (in GMT/UTC) associated with when the file was generated is appended, identifying the specific time that that log entries were recorded. For more information, see [Server logs retention.](./concepts-monitoring.md#server-logs)
2320

2421
## Enabling error logs (Preview)
@@ -71,6 +68,13 @@ Importantly, you can download the logs before rotation, ensuring they have acces
7168
For more detailed information on log rotation schedules and storage limits for various log types, refer to the [documentation on Server log retention](./concepts-monitoring.md#server-logs).
7269

7370

71+
### Handling of Personal Identifiable Information (PII) and Sensitive Data
72+
In Azure MySQL Flexible Server, we prioritize the security of your data. As such, any Personal Identifiable Information (PII) or sensitive data such as hostnames, IP addresses, usernames, and database names in error logs are hashed out due to security reasons.
73+
This means that while you can gain insights into the operational status and potential issues of your server from the error logs, specific details that could compromise the security of your server are not directly accessible.
74+
However, if you need more detailed information on errors, such as “Access Denied” errors where the username would typically be printed, you can find this information in the audit logs of Azure MySQL Flexible Server. The audit logs provide a more granular view of the activities and transactions on your server, allowing you to troubleshoot and resolve issues more effectively.
75+
76+
For more information on how to access and interpret the audit logs, please refer to the [official documentation](./concepts-audit-logs.md).
77+
7478
## Frequently asked questions
7579

7680
*Question*: My error logs contain the note as shown, what does this mean?

articles/mysql/flexible-server/concepts-monitoring.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ Azure Database for MySQL flexible server provides various metrics to understand
2828

2929
All Azure metrics have a one-minute frequency, and each metric provides 30 days of history. You can configure alerts on the metrics. For step-by-step guidance, see [How to set up alerts](./how-to-alert-on-metric.md). Other tasks include setting up automated actions, performing advanced analytics, and archiving history. For more information, see the [Azure Metrics Overview](../../azure-monitor/data-platform.md).
3030

31+
### Troubleshooting Metrics
32+
Sometimes, you might run into issues with creating, customizing, or interpreting charts in Azure metrics explorer.
33+
The situation of a *Chart showing no data* could arise due to various factors. These might include the Microsoft Insights resource provider not being registered for your subscription, or you lacking adequate access rights to your Azure Database for MySQL - Flexible Server. Other possibilities could be that your resource didn't generate metrics within the chosen time frame, or the selected time range exceeds 30 days.
34+
35+
Several reasons that follow can cause this behavior:
36+
37+
- *Microsoft.Insights resource provider isn’t registered*: Exploring metrics requires Microsoft.Insights resource provider registered in your subscription. Register your server manually by following steps described in [Azure resource providers and types](../../azure-resource-manager/management/resource-providers-and-types.md).
38+
- *Insufficient access rights to your resource*: Ensure that you have sufficient permissions for your Azure Database for MySQL - Flexible Server from which you’re exploring metrics. Your resource didn’t emit metrics during the selected time range: Change the time of the chart to a wider range. In Azure, [Azure role-based access control (Azure RBAC)](../../role-based-access-control/overview.md) controls access to metrics. You must be a member of [monitoring reader](../../role-based-access-control/built-in-roles.md#monitoring-reader), [monitoring contributor](../../role-based-access-control/built-in-roles.md#monitoring-contributor), or [contributor](../../role-based-access-control/built-in-roles.md#contributor) to explore metrics for any resource.
39+
- *Your resource didn’t emit metrics during the selected time range*: This could be due to several reasons. One possibility is that your resource didn’t generate metrics within the chosen time frame. Change the time of the chart to a wider range to see if this resolves the issue. For more detailed information on troubleshooting this issue, refer to the [Azure Monitor metrics troubleshooting guide](../../azure-monitor/essentials/metrics-troubleshoot.md#your-resource-didnt-emit-metrics-during-the-selected-time-range).
40+
- *Time range greater than 30 days*: Verify that the difference between start- and end- dates in the time picker doesn’t exceed the 30-day interval. For more detailed information on troubleshooting metrics, refer to the [Azure Monitor metrics troubleshooting guide](../../azure-monitor/essentials/metrics-troubleshoot.md).
41+
- *Dashed Line Indication*: In Azure Monitor, the presence of a dashed line signifies a gap in data, or a "null value", between two points of known time grain data. This is a deliberate design that helps in the detection of missing data points. If your chart displays dashed lines, it indicates missing data and you can refer to the [documentation for further information.](../../azure-monitor/essentials/metrics-troubleshoot.md#chart-shows-dashed-line)
42+
43+
For more detailed information on troubleshooting metrics, refer to the [Azure Monitor metrics troubleshooting guide.](../../azure-monitor/essentials/metrics-troubleshoot.md)
3144

3245
## List of metrics
3346
These metrics are available for Azure Database for MySQL flexible server:
@@ -107,7 +120,7 @@ These metrics are available for Azure Database for MySQL flexible server:
107120
|Metric display name|Metric|Unit|Description|
108121
|---|---|---|---|
109122
|InnoDB Row Lock Time|innodb_row_lock_time|Milliseconds|InnoDB row lock time measures the duration of time in milliseconds for InnoDB row-level locks.|
110-
|InnoDB Row Lock Waits|innodb_row_lock_waits|Count|InnoDB row lock waits count the number of times a query had to wait for an InnoDB row-level lock.|
123+
|InnoDB Row Lock Waits|innodb_row_lock_waits|Count|InnoDB row lock waits metric counts the number of times a query had to wait for an InnoDB row-level lock.|
111124
|Innodb_buffer_pool_reads|Innodb_buffer_pool_reads|Count|The total count of logical reads that InnoDB engine couldn't satisfy from the Innodb buffer pool, and had to be fetched from the disk.|
112125
|Innodb_buffer_pool_read_requests|Innodb_buffer_pool_read_requests|Count|The total count of logical read requests to read from the Innodb Buffer pool.|
113126
|Innodb_buffer_pool_pages_free|Innodb_buffer_pool_pages_free|Count|The total count of free pages in InnoDB buffer pool.|
@@ -119,7 +132,7 @@ These metrics are available for Azure Database for MySQL flexible server:
119132
## Server logs
120133

121134
In Azure Database for MySQL flexible server, users can configure and download server logs to assist with troubleshooting efforts. With this feature enabled, an Azure Database for MySQL flexible server instance starts capturing events of the selected log type and writes them to a file. You can then use the Azure portal and Azure CLI to download the files to work with them.
122-
The server logs feature is disabled by default. For information about how to enable server logs, see [How to enable and download server logs for Azure Database for MySQL flexible server](./how-to-server-logs-portal.md)
135+
The server logs feature is disabled by default. For information about how to enable server logs, see [How to enable and download server logs for Azure Database for MySQL flexible server.](./how-to-server-logs-portal.md)
123136

124137
Server logs support [slow query logs](./concepts-slow-query-logs.md) and [error logs](./concepts-error-logs.md) for enabling and downloading.
125138
To perform a historical analysis of your data, in the Azure portal, on the Diagnostics settings pane for your server, add a diagnostic setting to send the logs to Log Analytics workspace, Azure Storage, or event hubs. For more information, see [Set up diagnostics](./tutorial-query-performance-insights.md#set-up-diagnostics).

0 commit comments

Comments
 (0)