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: content/en/integrations/guide/azure-advanced-configuration.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -299,6 +299,34 @@ Turning on Diagnostics allows ARM deployed VMs to collect logging information wh
299
299
300
300
{{< img src="integrations/guide/azure_troubleshooting/azure_enable_diagnostics.png" alt="azure diagnostics settings overview displayed with No storage account highlighted under Pick a storage account and enable guest level monitoring enabled" style="width:70%">}}
301
301
302
+
## Discrepancy between your data in Azure and Datadog
303
+
304
+
Datadog's Azure integration collects all metrics from [Azure Monitor][14]. Metrics are collected with all available dimensions (which are mapped to tags in Datadog), the highest time granularity, and the primary aggregation type.
305
+
306
+
The sections below describe two important distinctions to be aware of, as well as steps to [reconcile the discrepancy](#reconcile-the-discrepancy).
307
+
308
+
### 1. Time aggregation
309
+
310
+
Datadog displays raw data from Azure in per-second values, regardless of the time frame selected in Azure. That can make Datadog's value appear lower than the value Azure displays. See [Time aggregation][15] in the metric documentation for more information.
311
+
312
+
### 2. Space aggregation
313
+
314
+
[Space aggregation][20] in Datadog corresponds to the [primary aggregation type][17] of the metric in Azure Monitor. You can find the primary aggregation type from Azure's [Metric Definitions - List][16] API, in the field `primaryAggregationType`.
315
+
316
+
### Reconcile the discrepancy
317
+
318
+
1. Graph the metric in [Azure Monitor Metrics Explorer][18], or by going to the resource in Azure and clicking **Monitoring** and then **Metrics** in the left panel.
319
+
2. Graph the metric in the [Datadog Metrics Explorer][19].
320
+
3. Confirm that the query in Azure is scoped identically to the query in Datadog:
321
+
- Any dimensions used in the Azure metric query should match tags used in the Datadog metric query
322
+
- The primary aggregation type used in the query should match the Datadog [space aggregator][19]
323
+
- The time frame should match the time frame in the Datadog Metric Explorer
324
+
4. Hover over a datapoint on the graph to display the timestamp and value.
325
+
326
+
{{< img src="integrations/guide/azure_advanced_configuration/azure_metric_explorer.png" alt="The Azure Metrics Explorer with the cursor hovering over a point in the graph, and the metric value and timestamp highlighted" >}}
327
+
328
+
5. Find the same point in time in the Datadog graph and compare the values. If the values are equal, the original discrepancy was due to differences in either time or space aggregation between the two graphs.
329
+
302
330
## Automated log collection
303
331
304
332
### Naming conflicts
@@ -393,3 +421,10 @@ The `azure.*.count` metric should show in Datadog within 5 - 10 minutes.
0 commit comments