Monitor azure apps in third party tool Datadog

Introduction

Microsoft Azure provides a variety of insights and monitoring logs to monitor and check the state of a resource and its performance. We can send theseĀ metrics and insights to other tools and create several alerts and performance matrices of our own. Datadog is a tool that provides a rich use experience to monitor azure resources on the cloud or on-premises.

How to transfer Azure metrices to Datadog?

We can transfer all of the Azure insights to datadog in few simple steps using Eventhub. The original purpose of Eventhub is to transfer millions of requests per second which is best suited for our purpose.

Monitoring azure resources

Create an eventhub

First, we will create an eventhub instance in azure,

Once an eventhub is created you can send your insights or metrices data to eventhub from where DataDog will consume it.

Go to your app insights and find Diagnostic settings,

Here you will see that we can variety of metrices and logs, click on add diagnostics setting,

Send All Azure App Insights or Logs data to tool like Datadog

In the log selection select whichever you want to feed to the event hub, In the right section select “stream to eventhub” and in right lower section select details of eventhub namespace and eventhub instance.

Now you are all set from the Azure side. It’s time to move to Datadog.

For datadog to read the eventhub:

  1. Create a app registry
  2. Give read-only access to newly created eventhub

Datadog can read these events from evethub and generate interactive and rich performance metrices and alerts.

I hope this was helpful.

Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Verified by MonsterInsights