Skip to content

Commit 8a3d2de

Browse files
authored
Merge pull request #108603 from tehnoonr/patch-13
Update how-to-server-sent-events.md
2 parents 6621c6c + 6c2765f commit 8a3d2de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/api-management/how-to-server-sent-events.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ Follow these guidelines when using API Management to reach a backend API that im
4040

4141
* **Avoid other policies that buffer responses** - Certain policies such as [`validate-content`](validate-content-policy.md) can also buffer response content and shouldn't be used with APIs that implement SSE.
4242

43+
* **Avoid logging request/response body for Azure Monitor and Application Insights** - You can configure API request logging for Azure Monitor or Application Insights using diagnostic settings. The diagnostic settings allow you to log the request/response body at various stages of the request execution. For APIs that implement SSE, this can cause unexpected buffering which can lead to problems. Diagnostic settings for Azure Monitor and Application Insights configured at the global/All APIs scope apply to all APIs in the service. You can override the settings for individual APIs as needed. For APIs that implement SSE, ensure you have disabled request/response body logging for Azure Monitor and Application Insights.
44+
4345
* **Disable response caching** - To ensure that notifications to the client are timely, verify that [response caching](api-management-howto-cache.md) isn't enabled. For more information, see [API Management caching policies](api-management-caching-policies.md).
4446

4547
* **Test API under load** - Follow general practices to test your API under load to detect performance or configuration issues before going into production.
4648

4749
## Next steps
4850

4951
* Learn more about [configuring policies](./api-management-howto-policies.md) in API Management.
50-
* Learn about API Management [capacity](api-management-capacity.md).
52+
* Learn about API Management [capacity](api-management-capacity.md).

0 commit comments

Comments
 (0)