Skip to content

Commit

Permalink
Merge pull request #528 from Azure/github-action-generate-templates
Browse files Browse the repository at this point in the history
[GitHub Action - Generate Templates] Generate templates for alerts
  • Loading branch information
judyer28 authored Feb 11, 2025
2 parents d532708 + a87c716 commit e9c3a3a
Show file tree
Hide file tree
Showing 1,096 changed files with 4,348 additions and 3,038 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Average'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT30M'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Average'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT30M'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Average'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT30M'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Average'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT30M'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Average'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT30M'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Average'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT30M'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Average'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT30M'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Maximum'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT5M'
Expand Down Expand Up @@ -107,7 +106,7 @@ resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
{
name: '1st criterion'
metricName: 'memory_metric'
dimensions: [[]]
dimensions: []
operator: operator
threshold: threshold
timeAggregation: timeAggregation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Average'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT5M'
Expand Down Expand Up @@ -107,7 +106,7 @@ resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
{
name: '1st criterion'
metricName: 'BackendDuration'
dimensions: [[]]
dimensions: []
operator: operator
threshold: threshold
timeAggregation: timeAggregation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Average'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT5M'
Expand Down Expand Up @@ -107,7 +106,7 @@ resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
{
name: '1st criterion'
metricName: 'Capacity'
dimensions: [[]]
dimensions: []
operator: operator
threshold: threshold
timeAggregation: timeAggregation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Average'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT5M'
Expand Down Expand Up @@ -107,7 +106,7 @@ resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
{
name: '1st criterion'
metricName: 'Duration'
dimensions: [[]]
dimensions: []
operator: operator
threshold: threshold
timeAggregation: timeAggregation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Total'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT5M'
Expand Down Expand Up @@ -107,7 +106,7 @@ resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
{
name: '1st criterion'
metricName: 'FailedRequests'
dimensions: [[]]
dimensions: []
operator: operator
threshold: threshold
timeAggregation: timeAggregation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Total'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT5M'
Expand Down Expand Up @@ -107,7 +106,7 @@ resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
{
name: '1st criterion'
metricName: 'Requests'
dimensions: [[]]
dimensions: []
operator: operator
threshold: threshold
timeAggregation: timeAggregation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Total'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT1H'
Expand Down Expand Up @@ -107,7 +106,7 @@ resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
{
name: '1st criterion'
metricName: 'TotalRequests'
dimensions: [[]]
dimensions: []
operator: operator
threshold: threshold
timeAggregation: timeAggregation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Total'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT5M'
Expand Down Expand Up @@ -107,7 +106,7 @@ resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
{
name: '1st criterion'
metricName: 'UnauthorizedRequests'
dimensions: [[]]
dimensions: []
operator: operator
threshold: threshold
timeAggregation: timeAggregation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
"PT1H",
"PT6H",
"PT12H",
"PT24H",
"PT1D"
"P1D"
],
"metadata": {
"description": "Period of time used to monitor alert activity based on the threshold. Must be between one minute and one day. ISO 8601 duration format."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ param timeAggregation string = 'Maximum'
'PT1H'
'PT6H'
'PT12H'
'PT24H'
'P1D'
])
param windowSize string = 'PT5M'
Expand Down Expand Up @@ -107,7 +106,7 @@ resource metricAlert 'Microsoft.Insights/metricAlerts@2018-03-01' = {
{
name: '1st criterion'
metricName: 'Replicas'
dimensions: [[]]
dimensions: []
operator: operator
threshold: threshold
timeAggregation: timeAggregation
Expand Down
Loading

0 comments on commit e9c3a3a

Please sign in to comment.