File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
client/src/main/java/io/split/telemetry/storage Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public InMemoryTelemetryStorage() throws Exception {
4444 initMethodLatencies ();
4545 initHttpLatencies ();
4646 initHttpErrors ();
47- initMethodCounters ();
47+ initMethodExceptions ();
4848 initFactoryCounters ();
4949 initImpressionDataCounters ();
5050 initPushCounters ();
@@ -73,7 +73,7 @@ public MethodExceptions popExceptions() throws Exception {
7373 exceptions .set_track (_exceptionsCounters .get (MethodEnum .TRACK ).get ());
7474
7575 _exceptionsCounters .clear ();
76- initMethodCounters ();
76+ initMethodExceptions ();
7777
7878 return exceptions ;
7979 }
@@ -103,6 +103,7 @@ public void recordBURTimeout() {
103103 _factoryCounters .get (FactoryCountersEnum .BUR_TIMEOUTS ).incrementAndGet ();
104104 }
105105
106+
106107 @ Override
107108 public void recordLatency (MethodEnum method , long latency ) {
108109 int bucket = BucketCalculator .getBucketForLatency (latency );
@@ -303,7 +304,7 @@ private void initHttpErrors() {
303304 _httpErrors .put (ResourceEnum .TOKEN_SYNC , Maps .newConcurrentMap ());
304305 }
305306
306- private void initMethodCounters () {
307+ private void initMethodExceptions () {
307308 _exceptionsCounters .put (MethodEnum .TREATMENT , new AtomicLong ());
308309 _exceptionsCounters .put (MethodEnum .TREATMENTS , new AtomicLong ());
309310 _exceptionsCounters .put (MethodEnum .TREATMENT_WITH_CONFIG , new AtomicLong ());
You can’t perform that action at this time.
0 commit comments