From bec1e81bb348d1589af065d0fbabbfc409e51be5 Mon Sep 17 00:00:00 2001 From: Bilal Al-Shahwany Date: Thu, 7 Dec 2023 14:02:47 -0800 Subject: [PATCH] fixed typo in telemetry record latency --- lib/splitclient-rb/clients/split_client.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/splitclient-rb/clients/split_client.rb b/lib/splitclient-rb/clients/split_client.rb index 79bf5dd8..99366fde 100644 --- a/lib/splitclient-rb/clients/split_client.rb +++ b/lib/splitclient-rb/clients/split_client.rb @@ -402,10 +402,10 @@ def record_latency(method, start) @telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_BY_FLAG_SET, bucket) when GET_TREATMENTS_BY_FLAG_SETS @telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_BY_FLAG_SETS, bucket) - when GET_TREATMENT_WITH_CONFIG - @telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENT_WITH_CONFIG, bucket) - when GET_TREATMENTS_WITH_CONFIG - @telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_WITH_CONFIG, bucket) + when GET_TREATMENT_WITH_CONFIG_BY_FLAG_SET + @telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_WITH_CONFIG_BY_FLAG_SET, bucket) + when GET_TREATMENTS_WITH_CONFIG_BY_FLAG_SETS + @telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_WITH_CONFIG_BY_FLAG_SETS, bucket) when TRACK @telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TRACK, bucket) end