Skip to content

Commit 003ec0d

Browse files
authored
Update troubleshooting guide and remove unused swagger files (Azure#28064)
1 parent 14915b9 commit 003ec0d

File tree

5 files changed

+10
-2272
lines changed

5 files changed

+10
-2272
lines changed

sdk/monitor/azure-monitor-query/TROUBLESHOOTING.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Monitor Query client library for Java.
1111
* [Troubleshooting authentication issues with logs and metrics query requests](#authentication-errors)
1212
* [Troubleshooting NoSuchMethodError or NoClassDefFoundError](#dependency-conflicts)
1313
* [Troubleshooting Logs Query](#troubleshooting-logs-query)
14-
* [Troubleshooting insufficient access error](#troubleshooting-insufficient-access-error-for-logs-query)
14+
* [Troubleshooting authorization errors](#troubleshooting-authorization-errors-for-logs-query)
1515
* [Troubleshooting invalid Kusto query](#troubleshooting-invalid-kusto-query)
1616
* [Troubleshooting empty log query results](#troubleshooting-empty-log-query-results)
1717
* [Troubleshooting client timeouts when executing logs query request](#troubleshooting-client-timeouts-when-executing-logs-query-request)
1818
* [Troubleshooting server timeouts when executing logs query request](#troubleshooting-server-timeouts-when-executing-logs-query-request)
1919
* [Troubleshooting server timeouts on OkHTTP client](#troubleshooting-server-timeouts-on-okhttp-client)
2020
* [Troubleshooting partially successful logs query requests](#troubleshooting-partially-successful-logs-query-requests)
2121
* [Troubleshooting Metrics Query](#troubleshooting-metrics-query)
22-
* [Troubleshooting insufficient access error](#troubleshooting-insufficient-access-error-for-metrics-query)
22+
* [Troubleshooting authorization errors](#troubleshooting-authorization-errors-for-metrics-query)
2323
* [Troubleshooting unsupported granularity for metrics query](#troubleshooting-unsupported-granularity-for-metrics-query)
2424

2525
## General Troubleshooting
@@ -94,7 +94,7 @@ why this happens and [ways to mitigate this issue](https://docs.microsoft.com/az
9494

9595
## Troubleshooting Logs Query
9696

97-
### Troubleshooting insufficient access error for logs query
97+
### Troubleshooting authorization errors for logs query
9898

9999
If you get an HTTP error with status code 403 (Forbidden), it means that the provided credentials does not have
100100
sufficient permissions to query the workspace.
@@ -111,6 +111,9 @@ com.azure.core.exception.HttpResponseException: Status code 403, "{"error":{"mes
111111
then check the logs to verify that the credential used is the one you expected. To enable logging, see [enable
112112
client logging](#enable-client-logging) section above.
113113

114+
For more help on troubleshooting authentication errors, please see the Azure Identity client library [troubleshooting
115+
guide](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity/TROUBLESHOOTING.md).
116+
114117
### Troubleshooting invalid Kusto query
115118

116119
If you get an HTTP error with status code 400 (Bad Request), you may have an error in your Kusto query and you'll
@@ -200,7 +203,7 @@ client.queryWorkspaceWithResponse("{workspaceId}", "{kusto-query-string}", Query
200203

201204
## Troubleshooting Metrics Query
202205

203-
### Troubleshooting insufficient access error for metrics query
206+
### Troubleshooting authorization errors for metrics query
204207

205208
If you get an HTTP error with status code 403 (Forbidden), it means that the provided credentials does not have
206209
sufficient permissions to query the workspace.
@@ -217,6 +220,9 @@ com.azure.core.exception.HttpResponseException: Status code 403, "{"error":{"cod
217220
then check the logs to verify that the credential used is the one you expected. To enable logging, see [enable
218221
client logging](#enable-client-logging) section above.
219222

223+
For more help on troubleshooting authentication errors, please see the Azure Identity client library [troubleshooting
224+
guide](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity/TROUBLESHOOTING.md).
225+
220226
### Troubleshooting unsupported granularity for metrics query
221227

222228
If you notice the following exception, this is due to an invalid time granularity in the metrics query request. Your

0 commit comments

Comments
 (0)