Skip to content

feat: enable telemetry pre-processors for appinsights

Varunkumar Manohar requested to merge slb/vm/loggingupdates into master
  • This MR adds a telemetry pre-processor for azure appinsights. This ensure that the appinsights request logs have custom dimensions involving correlation-id and client-id.

  • Client-id is set to the azp value in the authorization JWT. This is added to the custom dimensions only if azp value is available in the decoded token

image


  • The server initialization middleware ensures a correlation-id is always generated if no value is present in the request for it.

    In the log below no correlation-id was sent in the request. The backend server middleware auto-generated a correlation-id and inserted in the request headers

image

Edited by Varunkumar Manohar

Merge request reports

Loading