Azure からのサンプルペイロード

  • リリースバージョン: Washingtondc
  • 更新日 2024年02月01日
  • 読む2読むのに数分
  • Azure でイベントが発生したときのエンティティのスナップショット。

    Azure からのサンプルペイロード

    {
    		"schemaId" : "azureMonitorCommonAlertSchema",
    		"data" : {
    			"essentials" : {
    				"alertId" : "/subscriptions/39fa8f87-83f2-4d92-a424-408ebdfbeb19/providers/Microsoft.AlertsManagement/alerts/f7068659-5c39-4c06-95b8-b3c80213b0d5",
    				"alertRule" : "CastorAL1",
    				"severity" : "Sev0",
    				"signalType" : "Metric",
    				"monitorCondition" : "Fired",
    				"monitoringService" : "Platform",
    				"alertTargetIDs" : [ "/subscriptions/39fa8f87-83f2-4d92-a424-408ebdfbeb19/resourcegroups/castor-rg/providers/microsoft.web/sites/stage-castor-app" ],
    				"originAlertId" : "39fa8f87-83f2-4d92-a424-408ebdfbeb19_castor-rg_Microsoft.Insights_metricalerts_CastorAL1_-278978067",
    				"firedDateTime" : "2020-06-29T21:52:19.5607503Z",
    				"description" : "CastorAL1",
    				"essentialsVersion" : "1.0",
    				"alertContextVersion" : "1.0"
    			},
    			"alertContext" : {
    				"properties" : null,
    				"conditionType" : "SingleResourceMultipleMetricCriteria",
    				"condition" : {
    					"windowSize" : "PT1M",
    					"allOf" : [ {
    						"metricName" : "HttpResponseTime",
    						"metricNamespace" : "Microsoft.Web/sites",
    						"operator" : "GreaterThan",
    						"threshold" : "0.01",
    						"timeAggregation" : "Maximum",
    						"dimensions" : [ {
    							"name" : "ResourceId",
    							"value" : "stage-castor-app.azurewebsites.net"
    						} ],
    						"metricValue" : 0.143,
    						"webTestName" : null
    					} ],
    					"windowStartTime" : "2020-06-29T21:48:05.715Z",
    					"windowEndTime" : "2020-06-29T21:49:05.715Z"
    				}
    			}
    		}
    	}