Skip to content

Commit 9b25f33

Browse files
authored
Merge pull request DataDog#801 from DataDog/daniel_langer/new-azure-instructions
updated azure instructions
2 parents ae815b8 + 6a59da3 commit 9b25f33

18 files changed

+97
-29
lines changed

content/integrations/azure.md

Lines changed: 97 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ kind: integration
55
sidebar:
66
nav:
77
- header: Azure integration
8-
- text: Configure Monitoring
9-
href: "#monitoring"
8+
- text: Installation
9+
href: "#installation"
10+
- text: Creating the Web Application
11+
href: "#installation1"
12+
- text: Giving Read Permissions to the Application
13+
href: "#installation2"
1014
- text: Deploy agents
1115
href: "#agents"
1216
- text: Troubleshooting
@@ -18,58 +22,122 @@ sidebar:
1822

1923
### Overview
2024

21-
Datadog's Azure integration currently monitors Virtual Machines (diagnostics must be enabled), and SQL Databases. For any other service, please reach out to [support@datadoghq.com][3].
25+
Datadog's Azure integration currently monitors Virtual Machines, SQL Databases, and App Services. For any other service, please reach out to [support@datadoghq.com][3].
2226
Datadog's agent can also be deployed on your Azure virtual machines.
2327

2428

25-
### Configure Azure Monitoring
26-
{: #monitoring}
27-
28-
29-
To setup Azure monitoring, go to [Azure integrations][1] and follow instructions on the page.
30-
31-
![Azure default dashboard](/static/images/azure.png)
32-
33-
Learn more about how to monitor Azure performance metrics thanks to [our series of posts](https://www.datadoghq.com/blog/how-to-monitor-microsoft-azure-vms/). We detail the key performance metrics, how to collect them, and how to use Datadog to monitor Azure VMs.
34-
35-
#### Enable diagnostics
36-
To enable agent-less monitoring, you must enable diagnostics. Right now this is only support by Windows based machines. To do this, first go to [Azure preview portal][2] then follow the instructions below.
37-
![](/static/images/azure_diag_manual.png)
38-
39-
After locating your VM:
40-
1. Click on the CPU percentage today panel to show metrics panel
41-
2. Click on Diagnostics
42-
3. Shift the switch to open
43-
4. Click OK to save your changes
44-
45-
Datadog only requires Basic metrics, network and web metrics as well as .Net metrics to function correctly. Un-check logs collection could save you some storage space.
29+
### Installation
30+
{: #installation}
31+
32+
Integrating Datadog with Microsoft Azure is a three step process.
33+
34+
1. The first step is <a href="#installation1">Getting your tenant name</a> and passing it to Datadog.
35+
2. The second step is <a href="#installation2">Creating a web application</a> in your Active Directory and passing the correct credentials to Datadog
36+
3. The third step is <a href="#installation3">Giving this application read-access</a> to any subscriptions you would like to monitor.
37+
38+
#### Getting your Tenant Name
39+
{: #installation1}
40+
1. Go to [manage.windowsazure.com][5]
41+
2. Once the URL redirects, copy the tenant name from the URL. It is the text in between (**not including**) the @ and # symbol <img src="/static/images/azure/azure_tenant_url.png" style="width: 75%;display:block;"/>
42+
3. Paste the Tenant Name in the form on the Datadog setup page <img src="/static/images/azure/tenant_name_form.png" style="width: 50%;display:block;display:block;"/>
43+
44+
#### Creating the Web Application
45+
{: #installation2}
46+
47+
1. Navigate to the “Active Directory” tab on the left-hand menu <img src="/static/images/azure/active_directory_icon.png" style="width: 25%;display:block;"/>
48+
2. Click on the Active Directory you want to monitor <img src="/static/images/azure/active_directory_name_click.png" style="width: 50%;display:block;"/>
49+
3. Click on "Applications" <img src="/static/images/azure/application_click.png" style="width: 50%;display:block;"/>
50+
4. Click "Add" <img src="/static/images/azure/add_application_icon.png" style="width: 50%;display:block;"/>
51+
5. Click "Add an application my organization is developing"
52+
6. Give it a name, i.e. Datadog Auth App
53+
7. Select “Web application and/or web api”
54+
8. Provide a sign-on URL and App ID URI
55+
- Fill in any details for sign-on URL and App ID URI. These will NOT be used in any way and are simply required as part of the setup process.
56+
- i.e. https://app.datadoghq.com
57+
9. Click the check mark. You should be on a page that says "Your app has been added!"
58+
10. Click on "Configure" (Make sure you are on the page for the app, not the active directory) <img src="/static/images/azure/configure_click.png" style="width: 50%;display:block;"/>
59+
11. Scroll down to Client ID. Copy and paste the value into the form on the Datadog setup page <img src="/static/images/azure/client_id_form.png" style="width: 50%;display:block;display:block;"/>
60+
12. Scroll down to Keys and create a new key (1 or 2 years are both acceptable)
61+
- Note: the client secret key will be shown after you save
62+
13. Scroll down to "Permissions To Other Applications"
63+
14. Click Add Application
64+
15. Select Windows Azure Service Management API and click the check mark on the bottom right of the screen
65+
16. Under Delegated Permissions, check off “Access Azure Service Management as organization users (preview)” <img src="/static/images/azure/app_permissions_dropdown.png" style="width: 50%;display:block;"/>
66+
17. Click "Save" at the bottom of the screen
67+
18. Scroll back up to Keys, and copy and paste the generated Client Secret key into the form on the Datadog setup page <img src="/static/images/azure/client_secret_form.png" style="width: 50%;display:block;display:block;"/>
68+
19. Click "Install Integration" to complete the application creation process
69+
70+
#### Giving Read Permissions to the Application
71+
{: #installation3}
72+
73+
1. Navigate to [portal.azure.com][2]
74+
2. Navigate to “Subscriptions” on the left hand menu <img src="/static/images/azure/subscriptions_icon.png" style="width: 25%;display:block;"/>
75+
3. Click on the subscription you would like to monitor
76+
4. Click on the user icon <img src="/static/images/azure/user_button.png" style="width: 50%;display:block;"/>
77+
5. Click "Add" User <img src="/static/images/azure/add_user_button.png" style="width: 25%;display:block;"/>
78+
6. Select “Reader” as a role <img src="/static/images/azure/reader_icon.png" style="width: 25%;display:block;"/>
79+
7. Search/select for the name of the Application you just created (i.e. Datadog Auth App)
80+
8. Click Select
81+
9. Click OK
82+
10. Repeat this process for any other subscriptions you would like to monitor
83+
11. **Please note that Diagnostics must be enabled for ARM deployed VMs to collect metrics. <a href="#diagnostics">See the instructions below</a>**
84+
85+
**In a few minutes, metrics from applications under that subscription will begin to appear!**
86+
87+
![Azure VM Default Dashboard](/static/images/azure/azure_vm_screenboard.png)
88+
Naviate to the [Azure VM Default Dashboard][6] to see this dashboard populate with your infrastructure's data
89+
90+
Learn more about how to monitor Azure VM performance metrics with [our series of posts](https://www.datadoghq.com/blog/how-to-monitor-microsoft-azure-vms/). We detail the key performance metrics, how to collect them, and how to use Datadog to monitor Azure VMs.
4691

4792
### Deploy agents
4893
{: #agents}
49-
You can either deploy agents manually by following the instructions <a href="/guides/azure/">here</a>.
94+
95+
1. Follow the steps in the [Azure integrations][1] tile
96+
2. Manually deploy agents by following the instructions <a href="/guides/azure/">here</a>
5097

5198
### Troubleshooting
5299
{: #troubleshooting}
53100
Here are some common issues you might be seeing.
54101

55102
#### I don't know my tenent name
56-
To locate your tenent name first log into the current [Azure portal][4].
103+
To locate your tenent name first log into the classic [Azure portal][5].
57104
After logging in, locate the settings page on the left side of the screen.
58105
![](/static/images/azure_tenent.png)
59106

60107
The text in the red box shown in sceenshot above is your tenent name. Please only include text between parentheses.
61108

109+
Your tenant name is also available from the URL after navigating to the classic portal. It is the text in between (**not including**) the @ and # symbol <img src="/static/images/azure/azure_tenant_url.png" style="width: 75%;display:block;"/>
110+
62111
#### Unable to login
63-
If you have experienced error logging in while trying to install the integration, please reach out to [support@datadoghq.com][3]. When possible, please attache screen shot.
112+
If you have experienced error logging in while trying to install the integration, please reach out to [support@datadoghq.com][3]. When possible, please attach a screen shot.
113+
114+
#### No Metrics Are Showing Up
115+
Please ensure you completed <a href="#installation3">step three</a> of the installation process, which entails giving read permissions to the Azure application (created in <a href="#installation2">step two</a>) for the subscriptions you want to monitor.
64116

65-
#### No metrics are showing up
66-
Please make sure you have enabled diagnostics on your VMs. Diagnostics allows VMs to collect logging information which includes metrics for CPU, Network etc.
117+
For ARM deployed virtual machines, you must also turn on Diagnostics and select the VM metrics you would like to collect. See Enable Diagnostics below for instructions.
67118

119+
#### Missing Metrics?
120+
For ARM virtual machines, ensure you have enabled diagnostics and selected the metrics you would like to collect using the instructions below.
121+
122+
For other missing metrics, please reach out to [support@datadoghq.com][3].
123+
124+
##### Enable diagnostics
125+
{: #diagnostics}
126+
Turning on Diagnostics allows ARM deployed VMs to collect logging information which includes metrics for CPU, Network, etc... Right now this is only supported by Windows based machines. To do this, first go to [Azure Portal][2] then follow the instructions below.
127+
![](/static/images/azure_diag_manual.png)
68128

129+
After locating your VM:
130+
131+
1. Click on the CPU percentage today panel to show metrics panel
132+
2. Click on Diagnostics
133+
3. Shift the status to on and select the metrics you would like to collect (note: we recommend "Basic metrics", "Network and web metrics", and ".Net metrics". Un-checking logs collection could save you some storage space)
134+
4. Click OK to save your changes
69135

70136

71137

72138
[1]: https://app.datadoghq.com/account/settings#integrations/azure
73139
[2]: https://portal.azure.com
74140
[3]: mailto:support@datadoghq.com
75141
[4]: https://management.azure.com
142+
[5]: https://manage.windowsazure.com
143+
[6]: https://app.datadoghq.com/screen/integration/azure_vm
4.32 KB
Loading
7.83 KB
Loading
4.65 KB
Loading
3.91 KB
Loading
13.1 KB
Loading
8.41 KB
Loading
8.8 KB
Loading
175 KB
Loading
64.4 KB
Loading

0 commit comments

Comments
 (0)