azure-monitoring

Method to put alerts on long running azure data factory pipeline

笑着哭i 提交于 2020-06-23 08:31:26
问题 I have some data factory pipelines which may sometimes run beyond 2 hours when copying data from blob into SQL. The time period is variable, but I'd like to be notified/alerted when any pipeline runs beyond 2 hours. What are possible ways of doing this? What I have tried so far: Explored the adf metrics on which I can put an alert rule. But there seems to be none which talks about active run's duration. I was hoping to get Pipeline's duration value as we see it on the monitor tab in adf.azure

Method to put alerts on long running azure data factory pipeline

别等时光非礼了梦想. 提交于 2020-06-23 08:31:18
问题 I have some data factory pipelines which may sometimes run beyond 2 hours when copying data from blob into SQL. The time period is variable, but I'd like to be notified/alerted when any pipeline runs beyond 2 hours. What are possible ways of doing this? What I have tried so far: Explored the adf metrics on which I can put an alert rule. But there seems to be none which talks about active run's duration. I was hoping to get Pipeline's duration value as we see it on the monitor tab in adf.azure

How to export Azure log analytics data into an SQL database?

孤街浪徒 提交于 2020-05-17 07:25:07
问题 We need the Log Analytics data in a SQL database for use in Tableau. How can we do this? 回答1: Log files are saved in Azure Storage Account, if you read the following article I think that you solve your problem. Connect to Azure Blob Storage (SQL Server Import and Export Wizard) 回答2: You can use log search feature to export log data to SQL database: Perform a Log Search from your log analytics workspace Create a runbook to import Log Search results to SQL Server 来源: https://stackoverflow.com

Custom Events in Azure Monitor for .NET Core

风格不统一 提交于 2020-04-17 21:49:45
问题 I am trying to get custom events from Azure via the Microsoft.Azure.Management.Monitor API (preview), but I get a "Bad Request" response when doing so. var context = new AuthenticationContext("https://login.microsoftonline.com/" + tenantId, false); var credential = new ClientCredential(clientId: clientId, clientSecret: secret); var result = context.AcquireTokenAsync("https://management.core.windows.net/", credential); var accesstoken = result.GetAwaiter().GetResult().AccessToken; var

Azure Monitor Alerts using webhook to Microsoft Teams - No messages to Teams

柔情痞子 提交于 2020-04-16 03:42:25
问题 I'm using Azure Monitor/Log Analytics to trigger alerts successfully. I'm trying to get the alerts into a Microsoft Teams channel (as well as a slack channel for debugging) with no success. I've an alert that's successfully being triggered. I have an action group with my email, sms and azure app push configured. I've been receiving these messages each time the alert triggers. I've got another action group with a couple of webhooks in for a Microsoft Teams and Slack channels. I'm not receiving

Azure Monitor / Application Insights not showing stack trace for errors

断了今生、忘了曾经 提交于 2020-01-25 06:55:28
问题 I've got an ASP .Net Core 3.0 Web API hosted on Azure App Service. I'm am trying to figure out why it's throwing a 500 Internal Server Error in one of the controller action methods. I've got Application Insights set up, and I can see on the "Failures" page on Azure Portal that there are a number of 500 exceptions. However, I cannot see a stack trace for them. Is there something I need to do to turn on stack trace reporting in Application Insights or Azure Monitor. P.S. Even when my API was on

Can I add larger Font text to the markdown widget on https://portal.azure.com dashboard?

断了今生、忘了曾经 提交于 2020-01-25 05:07:27
问题 In https://portal.azure.com I would like to make a dashboard with big labels. The idea is that we'd get the stats on a big TV so we could see the state of our services at a glance. Big labels will make it easier to consume. I'm trying to add larger than h1 font to my markdown tiles but the inline CSS <font size="8">Test env</font> does not parse. Does anyone know how to get this to work or if azure dashboards even support this? Click here to see example of the text size I want (Top label

Azure Data Factory .NET SDK activity metrics

自古美人都是妖i 提交于 2019-12-24 05:40:30
问题 Does anyone know how to (or if it possible) to access these metrics for each activity run shown under "Details" in the Azure Portal? The initial plan was to use the .NET SDK but none of these metrics seems to be included. This is what I have managed to find so far. var datasliceRunListResponse = client.DataSliceRuns.List( _resourceGroupName, dataFactoryName, Dataset_Destination, new DataSliceRunListParameters() { DataSliceStartTime = PipelineActivePeriodStartTime

Event Hub metrics shows lots of “Other Errors”, how to get details?

a 夏天 提交于 2019-12-23 10:20:55
问题 So I have created an Event Hub using the new portal. When I visit the Event Hub blade and browse to the Metrics blade in the Monitoring section I get this chart: I wonder where I can find more info about these errors. Does anybody know? 回答1: Event Hubs can also emit Diagnostic Logs, which contain detailed diagnostic information on errors. See https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-of-diagnostic-logs#how-to-enable-collection-of-diagnostic-logs for

Setup data used by Azure Log Analytics with Azure Fucntions

╄→尐↘猪︶ㄣ 提交于 2019-12-13 03:18:01
问题 I have questions on setting up data used Azure Log Analytics for Azure Functions. I cannot see options related to setting up Log Analytics or see information about it within Azure Functions. But I can open Log Analytics where I can enter query to return data. I created a Log Analytics Workspace, but am not sure if it is useful for Azure Functions with Log Analytics. Questions 1 What data is Log Analytics based on by default? 2 Do I need to specify or turn on the logging data Log Analytics is