Skip to content

Commit 986b669

Browse files
committed
added back troubleshooting
1 parent b9301fe commit 986b669

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

articles/azure-monitor/essentials/metrics-store-custom-rest-api.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,17 @@ Submit the following HTTP POST request by using the following variables:
227227

228228
1. In the **Metric** dropdown list, select **Memory Bytes in Use**.
229229

230+
## Troubleshooting
231+
232+
If you receive an error message with some part of the process, consider the following troubleshooting information:
233+
234+
- If you can't issue metrics against a subscription or resource group, or resource, check that your application or service principal has the **Monitoring Metrics Publisher** role assigned in **Access control (IAM)**.
235+
- Check that the number of dimension names matches the number of values.
236+
- Check that you're emitting metrics to the correct Azure Monitor regional endpoint. For example, if your resource is deployed in West US, you must emit metrics to the West US regional endpoint.
237+
- Check that the timestamp is within the last 20 minutes.
238+
- Check that the timestamp is in ISO 8601 format.
239+
- Check that the metric name is valid. For example, it can't contain spaces.
240+
230241
## Next steps
231242

232243
Learn more about [custom metrics](./metrics-custom-overview.md).

0 commit comments

Comments
 (0)