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
+ Learn the [Azure API Management terminology](api-management-terminology.md).
31
30
+ Complete the following quickstart: [Create an Azure API Management instance](get-started-create-service-instance.md).
32
31
+ Complete the following tutorial: [Import and publish your first API](import-and-publish.md).
33
32
34
-
## Verify allow tracing setting
33
+
## Verify allow tracing setting
35
34
36
35
The **Allow tracing** setting for the subscription used for your API must be enabled. If you're using the built-in all-access subscription, it's enabled by default. To verify in the portal, navigate to your API Management instance and select **Subscriptions**.
37
36
38
-
:::image type="content" source="media/api-management-howto-api-inspector/allow-tracing.png" alt-text="Allow tracing for subscription":::
37
+
:::image type="content" source="media/api-management-howto-api-inspector/allow-tracing-1.png" alt-text="Allow tracing for subscription":::
39
38
40
39
## Trace a call
41
40
@@ -44,22 +43,22 @@ The **Allow tracing** setting for the subscription used for your API must be ena
44
43
1. Select **Demo Conference API** from your API list.
45
44
1. Select the **Test** tab.
46
45
1. Select the **GetSpeakers** operation.
47
-
1. Confirm that the HTTP request header includes **Ocp-Apim-Trace: True** and a valid value for **Ocp-Apim-Subscription-Key**. If it isn't, select **+ Add Header** to add the header.
46
+
1. Confirm that the HTTP request header includes **Ocp-Apim-Trace: True** and a valid value for **Ocp-Apim-Subscription-Key**. If it doesn't, select **+ Add header** to add the header.
48
47
1. Select **Send** to make an API call.
49
48
50
-
:::image type="content" source="media/api-management-howto-api-inspector/06-debug-your-apis-01-trace-call.png" alt-text="Configure API tracing":::
49
+
:::image type="content" source="media/api-management-howto-api-inspector/06-debug-your-apis-01-trace-call-1.png" alt-text="Configure API tracing":::
51
50
52
51
> [!TIP]
53
52
> If **Ocp-Apim-Subscription-Key** isn't automatically populated in the HTTP request, you can retrieve it in the portal. Select **Subscriptions**, and open the context menu (**...**) for your suscription. Select **Show/hide keys**. You can also regenerate keys if needed. Then, add a key to the header.
54
53
55
54
## Review trace information
56
55
57
-
1. After the call completes, go to the **Trace** tab in the **HTTP Response**.
56
+
1. After the call completes, go to the **Trace** tab in the **HTTP response**.
58
57
1. Select any of the following links to jump to detailed trace info: **Inbound**, **Backend**, **Outbound**.
***Inbound** - Shows the original request API Management received from the caller and the policies applied to the request. For example, if you added policies in [Tutorial: Transform and protect your API](transform-api.md), they will appear here.
61
+
***Inbound** - Shows the original request API Management received from the caller and the policies applied to the request. For example, if you added policies in [Tutorial: Transform and protect your API](transform-api.md), they'll appear here.
63
62
64
63
***Backend** - Shows the requests API Management sent to the API backend and the response it received.
65
64
@@ -70,7 +69,7 @@ The **Allow tracing** setting for the subscription used for your API must be ena
70
69
71
70
1. On the **Message** tab, the **ocp-apim-trace-location** header shows the location of the trace data stored in Azure blob storage. If needed, go to this location to retrieve the trace.
72
71
73
-
:::image type="content" source="media/api-management-howto-api-inspector/response-message.png" alt-text="Trace location in Azure Storage":::
72
+
:::image type="content" source="media/api-management-howto-api-inspector/response-message-1.png" alt-text="Trace location in Azure Storage":::
0 commit comments