From 0dfeb66bd63937fd28221025b7d34e53198d9869 Mon Sep 17 00:00:00 2001 From: XmasApple Date: Fri, 8 Sep 2023 17:00:15 +0300 Subject: [PATCH] try add verbosity --- slo/src/Jobs/Job.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slo/src/Jobs/Job.cs b/slo/src/Jobs/Job.cs index 6eb1ba9b..2e8657e3 100644 --- a/slo/src/Jobs/Job.cs +++ b/slo/src/Jobs/Job.cs @@ -71,6 +71,7 @@ private async Task DoJob() await PerformQuery(); sw.Stop(); + Console.WriteLine($"job OK {sw.ElapsedMilliseconds}"); _latencySummary.WithLabels("ok").Observe(sw.ElapsedMilliseconds); _okCounter.Inc(); _inFlightGauge.Dec(); @@ -79,6 +80,7 @@ private async Task DoJob() { Console.WriteLine(e); sw.Stop(); + Console.WriteLine($"job ERR {sw.ElapsedMilliseconds}"); _latencySummary.WithLabels("err").Observe(sw.ElapsedMilliseconds); _notOkCounter.Inc();