Example #1
0
        public async Task <ActionResult> SendReport()
        {
            var report = new AzureMLAnomalyReport
            {
                Date                      = DateTime.UtcNow,
                AnomalyGroups             = new List <AzureMLAnomalyGroup>(),
                CollectedDataTypeOfReport = CollectedDataType.AggregationForHour
            };

            var reportMessage = new InstanceAnomalyReportMessage
            {
                AnomalyReportId = Guid.NewGuid(),
                InstanceId      = Guid.Parse("11c1b774-b459-4cc1-9f70-a54c8964802d")
            };
            await _serviceBusProvider.SendAnomalyReportMessage(reportMessage);

            return(Ok());
        }
Example #2
0
 private string CreateReportHtmlMessage(string message, AzureMLAnomalyReport report)
 {
     return(null);
 }