This section provides information about installing and configuring the agents for monitoring Azure SQL Database systems.
This section covers the following key areas:
Foglight for Azure SQL Database monitors the Azure SQL Database activity by connecting to and querying the Azure SQL Database. The agents provided monitor the Azure SQL Database system. The dashboards included with the cartridge provide a visual representation of the status of the major components of the Azure SQL agents. They allow you to determine any potential bottleneck in database performance.
During the installation process you can choose to install and configure one or more of the monitoring extensions. The monitoring extensions provide a more in-depth analysis of the monitored database and the environment it is running on, creating a whole and unified status.
SQL Performance Investigator allows you to rapidly identify bottlenecks, anomalies, and application trends by focusing on top resource consumers and providing multi-dimensional SQL domain drilldowns.
SQL PI allows you to:
Enabling Foglight Cloud to monitor Azure SQL databases requires the creation of the Foglight agents that monitor these databases and ensuring that these agents communicate properly with Foglight Cloud . Foglight for Azure SQL Database provides a graphic, intuitive method for creating and configuring multiple agents.
To run the database installation wizard:
If a user-defined database group is selected, the databases table’s title displays the name of this group instead of All; however, all newly discovered or created databases are added to the general (All) group of databases.
You have the option to set this host as the default for all future installations.
Prerequisites for selecting the Microsoft Entra Default Option:
1. Install the Azure CLI utility on the Foglight Agent Manager (FglAM) machine.
2. Run the following command in the CLI: az login. This command opens a browser window for authentication. Log in using your Azure credentials.
3. After successfully logging in to the Azure CLI, you can monitor the instance using the ActiveDirectoryDefault authentication option.
If you need to connect to a different database that you have not accessed before, acquire a new token by running the az login command again.
This feature does not work when the FglAM runs as a Windows service.
(Optional) - Disable SQL Performance Investigator extension. It is not recommended for optimal benefits.
SQL Performance Investigator extension is enabled by default.
If the monitoring verification fails click the message that is displayed on the Status column and resolve the issue according to the instructions that appear in the dialog box. For example, insufficient privileges, incorrect credentials or an Agent Manager that reached its full monitoring capacity.
Azure SQL DB Elastic Pools introduce a dynamic resource allocation model that adapts to the varying needs of databases within the pool. Databases experiencing high workloads can dynamically pull resources from the shared pool, ensuring optimal performance during peak times. Conversely, databases with minimal or no activity utilize no resources, resulting in efficient resource allocation and cost savings.
Foglight for Azure SQL DB can monitor elastic pools to diagnose resource consumption issues of all databases using the pool. To start monitoring, install an elastic pool agent.
To install an elastic pool agent:
Once the Elastic Pool agent is installed, the global view displays the following details:
For more details related to each elastic pool, refer to Viewing Azure SQL Elastic Pool Overview Dashboard. The Azure Databases sub-tab also displays the names of elastic pools for the respective databases.