private async Task TraceStatsWorker()

in src/Library/Library.cs [208:226]


        private async Task TraceStatsWorker()
        {
            while (this.IsRunning)
            {
                try
                {
                    if (this.istioMixerInput?.IsRunning == true)
                    {
                        Common.Diagnostics.LogInfo($"Istio's Mixer input: [{this.istioMixerInput.GetStats()}]");
                    }
                }
                catch (Exception e)
                {
                    Common.Diagnostics.LogInfo($"Unexpected exception in the stats thread: {e.ToString()}");
                }

                await Task.Delay(this.statsTracingTimeout).ConfigureAwait(false);
            }
        }