Skip to content

Commit e7582ae

Browse files
authored
Add information about the 64k limit
Update the limits section to include the 64kb metric name limit.
1 parent 8ce9549 commit e7582ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

articles/azure-monitor/essentials/metrics-custom-overview.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ Azure Monitor imposes the following usage limits on custom metrics:
224224
|Total active time series in a subscription across all regions you've deployed to|50,000|
225225
|Dimension keys per metric|10|
226226
|String length for metric namespaces, metric names, dimension keys, and dimension values|256 characters|
227+
|Total size of all metric names combined into a single utf string|64kb|
227228

228229
An active time series is defined as any unique combination of metric, dimension key, or dimension value that has had metric values published in the past 12 hours.
229230

@@ -246,6 +247,10 @@ Follow the steps below to see your current total active time series metrics, and
246247
1. Select the **Apply** button.
247248
1. Choose either **Active Time Series**, **Active Time Series Limit**, or **Throttled Time Series**.
248249

250+
There is a limit on the total size of all metric names concatenated into a single utf string for indexing metric names. If the 64kb limit is exceeded, the metricdefinitions API and any selection UI in the Azure Portal that lets you choose a metric name will not return new metrics that are emitted after the limit has been hit.
251+
252+
When this happens, reduce the number of metrics you are sending or shorten the length of their names. The limit will reset about a day afterwards. A common pratice that causes the limit to be hit is to encode some variable in the metric name itself. The best way to resolve the situation is to move the variable out of the metric name and into a dimension.
253+
249254
## Design limitations and considerations
250255

251256
**Using Application Insights for the purpose of auditing.** The Application Insights telemetry pipeline is optimized for minimizing the performance impact and limiting the network traffic from monitoring your application. As such, it throttles or samples (takes only a percentage of your telemetry and ignores the rest) if the initial dataset becomes too large. Because of this behavior, you can't use it for auditing purposes because some records are likely to be dropped.

0 commit comments

Comments
 (0)