azuredatastudio/samples/sp_whoIsActive
Charles Gagnon c6549dd6f4
Remove vs code engine version for whoisactive extension (#22952)
2023-05-03 16:07:00 -07:00
..
.vscode Fix debugger type for sp_whoIsActive (#16870) 2021-08-24 11:13:38 -07:00
images update whoisactive extension (#10164) 2020-04-27 10:51:54 -07:00
src update whoisactive extension (#10164) 2020-04-27 10:51:54 -07:00
tasks update whoisactive extension (#10164) 2020-04-27 10:51:54 -07:00
.gitignore Update whoIsActive extension to use azdata (#7287) 2019-09-19 11:38:18 -07:00
.vscodeignore Merge Azure Data Studio branding changes (#2689) 2018-09-24 15:39:19 -07:00
CHANGELOG.md Add the first version of whoisactive project (#943) 2018-03-22 12:32:22 -07:00
LICENSE.txt Merge Azure Data Studio branding changes (#2689) 2018-09-24 15:39:19 -07:00
README.md Add License section to extension READMEs (#22912) 2023-05-01 13:51:51 -07:00
gulpfile.js bump packages (#8355) 2019-11-15 13:45:23 -08:00
package.json Remove vs code engine version for whoisactive extension (#22952) 2023-05-03 16:07:00 -07:00
tsconfig.json Add the first version of whoisactive project (#943) 2018-03-22 12:32:22 -07:00
tslint.json Update whoIsActive extension to use azdata (#7287) 2019-09-19 11:38:18 -07:00
yarn.lock Upgrade xml2js to v0.5.0 + migration to @vscode/vsce + migration to @azure/storage-blob (#22664) 2023-04-11 15:13:43 -07:00

README.md

sp_whoisactive for Azure Data Studio

Welcome to sp_whoisactive for Azure Data Studio! Sp_whoisactive is a procedure written by Adam Machanic, a Microsoft MVP for SQL Server. It is a very useful tool for activity monitoring and troubleshooting. This extension provides the insights provided by this tool as graphs and tasks inside a Azure Data Studio dashboard extension.

Tasks and insights:

insights

Details:

insights

Why use sp_whoisactive?

Here are some quick facts on Who is Active from Adam Machanics blog:

  • Who is Active is a DMV-based monitoring stored procedure that uses 15 different views to show a large amount of data about whats running on your server
  • Who is Active was designed to be extremely flexible, and includes options to not only get different types of data, but also to change the output column list and sort order
  • Who is Active was designed with performance in mind at every step; users report that under normal conditions response times are generally subsecond, with slightly longer response times on servers that are extremely taxed
  • Who is Active is compatible with all versions of SQL Server after SQL Server 2005 RTM. It does require that the host database (generally master) is not set for SQL Server 2000 compatibility mode

Documentation:

If you haven't installed sp_whoisactive in your server, you can use the "Install sp_whoisactive" task to create the procedure.

See sp_whoisactive Documentation for more infomation.

Building your own insights and tasks

This extension is also useful as a sample dashboard extension. It demonstrates building a dedicated dashboard extension with a set of insights and tasks built in. You can get started building your own extension by following the extension authoring guide.

See sp_whoisactive extension project in the Azure Data Studio for the extension source code.

Contributions and "thank you"

Special thank to Adam Machanic for partnering with us and make this sp_whoisactive extension possible.

What's new in Server Reports v1.1?

  • Changed CPU usage, CPU delta, memory usage, memory delta to show only top 10 data
  • Added details option on each chart to display details of data entries
  • Improved "Get plans" and "Find leader of block" tasks. The tasks will open new editor, configure current dashboard connection, and run the query.

How to produce an extension installation package

Run the following commands sequentially in the context of this directory:

  • yarn install - to install the dependencies
  • yarn build - to build the code
  • vsce package - to produce an extension installation package

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the Source EULA.