Skip to content

Commit 2eb3514

Browse files
committed
Numeric values requirement for custom measurements
1 parent 77b7b6b commit 2eb3514

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

articles/azure-monitor/app/data-model-complete.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: carmonm
77
ms.workload: TBD
88
ms.tgt_pltfrm: ibiza
99
ms.topic: conceptual
10-
ms.date: 06/23/2023
10+
ms.date: 09/25/2023
1111
ms.reviewer: mmcc
1212
---
1313
# Application Insights telemetry data model
@@ -421,6 +421,10 @@ PageView Telemetry includes URL and you could parse the UTM parameter using a re
421421

422422
Occasionally, this data might be missing or inaccurate if the user or enterprise disables sending User Agent in browser settings. The [UA Parser regexes](https://github.com/ua-parser/uap-core/blob/master/regexes.yaml) might not include all device information. Or Application Insights might not have adopted the latest updates.
423423

424+
### Why would a custom measurement succeed without error but the log doesn't show up?
425+
426+
This can occur if you're using string values. Only numeric values work with custom measurements.
427+
424428
## Next steps
425429

426430
Learn how to use the [Application Insights API for custom events and metrics](./api-custom-events-metrics.md), including:

includes/application-insights-data-model-measurements.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
ms.service: application-insights
33
ms.topic: include
4-
ms.date: 11/09/2018
4+
ms.date: 09/25/2023
55
---
66
**Collection of custom measurements:** Use this collection to report named measurements associated with the telemetry item. Typical use cases are:
77

@@ -18,6 +18,7 @@ customEvents
1818
```
1919

2020
> [!NOTE]
21-
> Custom measurements are associated with the telemetry item they belong to. They're subject to sampling with the telemetry item that contains those measurements. To track a measurement that has a value independent from other telemetry types, use [metric telemetry](../articles/azure-monitor/app/api-custom-events-metrics.md).
21+
> - Custom measurements are associated with the telemetry item they belong to. They're subject to sampling with the telemetry item that contains those measurements. To track a measurement that has a value independent from other telemetry types, use [metric telemetry](../articles/azure-monitor/app/api-custom-events-metrics.md).
22+
> - Don't use string values for custom measurements. Only numeric values are supported.
2223
2324
**Maximum key length**: 150

0 commit comments

Comments
 (0)