You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/azure/partner-solutions/datadog/metrics-not-emitted.md
+12-57Lines changed: 12 additions & 57 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,75 +28,30 @@ This article helps you resolve the problem in which Datadog isn't receiving metr
28
28
29
29
## Cause
30
30
31
-
Datadog requires the Monitoring Reader role on the appropriate scope (Azure subscription or resource group) to collect platform metrics. If the Datadog resource identity isn't assigned this role at the correct scope, Datadog can't read metrics and they won't be emitted to Datadog.
31
+
Datadog requires the Monitoring Reader role on the appropriate Azure subscription to collect platform metrics. If the Datadog resource identity isn't assigned this role, Datadog can't read metrics and they won't be emitted to Datadog.
32
32
33
-
## Solution 1: Verify role assignment and assign Monitoring Reader
33
+
## Solution
34
34
35
35
1. In the Azure portal, open the subscription that contains the resources.
36
36
37
-
2. Select Access control (IAM) from the left pane.
37
+
1. Select **Access control (IAM)** in the left pane.
38
38
39
-
3. In the Role assignments tab, search for the Datadog resource name or principal ID.
39
+
1. On the **Role assignments** tab, search for the Datadog resource name.
40
40
41
-
4. If you do not find a Monitoring Reader assignment for the Datadog identity at the subscription scope, follow these steps to add one:
41
+
1. If you don't find a Monitoring Reader assignment for the Datadog identity, complete these steps to add one:
42
42
43
-
1. Select + Add > Add role assignment.
43
+
1. Select **Add** > **Add role assignment**.
44
44
45
-
2. In Role, choose Monitoring Reader.
45
+
1. On the **Role** tab, select **Monitoring Reader** and then select **Next**.
46
46
47
-
3. In Assign access to, choose Managed identity or Service principal as appropriate.
47
+
1. In **Assign access to**, select managed identity or service principal, as appropriate.
48
48
49
-
4. Select the Datadog resource identity and complete the assignment.
49
+
1. Select the Datadog resource identity and then click **Select**.
50
50
51
-
5. Wait a few minutes for RBAC propagation, then verify metrics are received in Datadog.
51
+
1. Wait a few minutes for RBAC propagation, and then verify that Datadog is recieving metrics.
52
52
53
-
## Solution 2: Verify role scope and identity type (CLI/PowerShell)
54
-
55
-
If you prefer or cannot use the portal, verify the assignment using CLI or PowerShell.
56
-
57
-
- Azure CLI example (checks role assignments for a principal at subscription scope):
58
-
59
-
az role assignment list --assignee {principal-id} --role "Monitoring Reader" --scope "/subscriptions/{subscription-id}" --output table
- Ensure you assign the role at the proper scope: Datadog typically needs subscription-level access for metrics collection across resources. Assigning at a resource group or resource scope limits access to that scope only.
76
-
77
-
- Confirm the Datadog identity is the one used by the Datadog integration (managed identity vs service principal). If you assign the role to the wrong principal, Datadog will still not receive metrics.
78
-
79
-
## Determine the cause if role assignment is present
80
-
81
-
If the Monitoring Reader role is already assigned and metrics are still not emitted, check the following:
82
-
83
-
- RBAC propagation delay: allow 5–15 minutes after assignment and re-check.
84
-
85
-
- Disabled or deleted principal: verify the managed identity or service principal is enabled.
86
-
87
-
- Datadog integration configuration: confirm the integration is configured to use the correct Azure subscription and principal.
88
-
89
-
- Azure Monitor metric availability: confirm the resource emits metrics to Azure Monitor (some resource types or SKU levels may not emit all metrics).
90
-
91
-
- Network or service issues in Datadog: check Datadog status and logs for ingestion errors.
92
-
93
-
## Verify
94
-
95
-
- In Datadog, open Metrics Explorer or the relevant dashboard and confirm recently emitted metrics appear for the affected resources.
96
-
97
-
- In the Azure portal, confirm the Datadog identity appears with the Monitoring Reader role assignment at the expected scope.
98
-
99
-
- Use CLI to list role assignments again and confirm the Monitoring Reader role is present for the Datadog principal.
53
+
> [!Notes]
54
+
> Confirm the Datadog identity is the one used by the Datadog integration (managed identity vs. service principal). If you assign the role to the wrong principal, Datadog won't receive metrics.
0 commit comments