Add logs to capture latency
Adding logs to capture latency of the following -
(1) Create new index in elasticsearch
(2) Send bulk request to elasticsearch
(3) Send messages back to Azure Service Bus in case of retry
These logs will provide greater observability to track the break-down of latency for the indexing of a batch of records.
Edited by Vibhuti Sharma [Microsoft]