Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty environmentName for Data-related #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
" and timestamp >= todatetime(_startDate)\r\n",
" and timestamp <= todatetime(_endDate) + totimespan(24h) - totimespan(1ms) \r\n",
" and customDimensions.aadTenantId == _aadTenantId\r\n",
" and customDimensions.environmentName == _environmentName\r\n",
" and (_environmentName == '' or customDimensions.environmentName == _environmentName )\r\n",
" and customDimensions.eventId == 'RT0005'\r\n",
"| summarize count() by bin(timestamp, 1d)\r\n",
"| render timechart title= 'Number of long running SQL queries'"
Expand Down Expand Up @@ -205,7 +205,7 @@
" and timestamp >= todatetime(_startDate)\r\n",
" and timestamp <= todatetime(_endDate) + totimespan(24h) - totimespan(1ms) \r\n",
" and customDimensions.aadTenantId == _aadTenantId\r\n",
" and customDimensions.environmentName == _environmentName\r\n",
" and (_environmentName == '' or customDimensions.environmentName == _environmentName )\r\n",
" and customDimensions.eventId == 'RT0005'\r\n",
" and customDimensions.alObjectId != '0'\r\n",
"| extend sqlStatement = tostring(customDimensions.sqlStatement)\r\n",
Expand Down Expand Up @@ -254,7 +254,7 @@
" and timestamp >= todatetime(_startDate)\r\n",
" and timestamp <= todatetime(_endDate) + totimespan(24h) - totimespan(1ms) \r\n",
" and customDimensions.aadTenantId == _aadTenantId\r\n",
" and customDimensions.environmentName == _environmentName\r\n",
" and (_environmentName == '' or customDimensions.environmentName == _environmentName )\r\n",
" and customDimensions.eventId == 'RT0012'\r\n",
"| summarize request_count=count() by bin(timestamp, 1d)\r\n",
"| render timechart title= 'Number of database lock timeouts'"
Expand All @@ -281,7 +281,7 @@
" and timestamp >= todatetime(_startDate)\r\n",
" and timestamp <= todatetime(_endDate) + totimespan(24h) - totimespan(1ms) \r\n",
" and customDimensions.aadTenantId == _aadTenantId\r\n",
" and customDimensions.environmentName == _environmentName\r\n",
" and (_environmentName == '' or customDimensions.environmentName == _environmentName )\r\n",
" and customDimensions.eventId == 'RT0012'\r\n",
"| extend sqlStatement = tostring(customDimensions.sqlStatement)\r\n",
", alObjectId = tostring(customDimensions.alObjectId)\r\n",
Expand Down Expand Up @@ -333,7 +333,7 @@
" and timestamp >= todatetime(_startDate)\r\n",
" and timestamp <= todatetime(_endDate) + totimespan(24h) - totimespan(1ms) \r\n",
" and customDimensions.aadTenantId == _aadTenantId\r\n",
" and customDimensions.environmentName == _environmentName\r\n",
" and (_environmentName == '' or customDimensions.environmentName == _environmentName )\r\n",
" and customDimensions.eventId == 'RT0006'\r\n",
"| project numberOfRows = toint(customDimensions.numberOfRows)\r\n",
", sqlRowsRead = toint( customDimensions.sqlRowsRead )\r\n",
Expand Down