Disabling Ocp-Apim-Trace in the Azure API Management Services
Asked Answered
I

2

5

Is there a way to disable Ocp-Apim-Trace in the Azure API Management Services?

Indue answered 29/3, 2018 at 13:32 Comment(0)
B
6

There is no way to disable tracing funtionality, not sending this header will disable tracing collection for one request only. But do know, that only admin users are capable of collecting traces, if this header is supplied along with subscription key that does not belong to admin account (or no subscription key at all) no traces will be collected. The idea here is that traces may expose information service owner may not be willing to share with developers.

Blader answered 30/3, 2018 at 15:53 Comment(0)
S
1

As well as doing what Vitaliy suggests, you could additionally strip the Ocp-Apim-Trace-Location header from the response in the outbound and error sections as insurance.

Stepparent answered 12/11, 2020 at 9:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.