OTel - Log traces issue after upgrading to Gateway 11.2
search cancel

OTel - Log traces issue after upgrading to Gateway 11.2

book

Article ID: 425699

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

After upgrading to  gateway 11.2 with Otel enabled and observed that the logs traces are very different from what is observed with gateway 11.1.2.

Where we have several traces with 11.1.2, I only get 1 after upgrading  and the traces related to the policy execution or not logged 

Resolution

In gateway 11.2 the cluster wide property "otel.traceContextVariables.enabled" is set to false by default while before it was not set at all and defaulted to true .

After enabling the cwp otel.traceContextVariables.enabled to true in gateway 11.2 the logs traces looks the same as in gateway 11.1.2