Skip to content

Commit bec1e81

Browse files
committed
fixed typo in telemetry record latency
1 parent c468069 commit bec1e81

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/splitclient-rb/clients/split_client.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,10 @@ def record_latency(method, start)
402402
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_BY_FLAG_SET, bucket)
403403
when GET_TREATMENTS_BY_FLAG_SETS
404404
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_BY_FLAG_SETS, bucket)
405-
when GET_TREATMENT_WITH_CONFIG
406-
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENT_WITH_CONFIG, bucket)
407-
when GET_TREATMENTS_WITH_CONFIG
408-
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_WITH_CONFIG, bucket)
405+
when GET_TREATMENT_WITH_CONFIG_BY_FLAG_SET
406+
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_WITH_CONFIG_BY_FLAG_SET, bucket)
407+
when GET_TREATMENTS_WITH_CONFIG_BY_FLAG_SETS
408+
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TREATMENTS_WITH_CONFIG_BY_FLAG_SETS, bucket)
409409
when TRACK
410410
@telemetry_evaluation_producer.record_latency(Telemetry::Domain::Constants::TRACK, bucket)
411411
end

0 commit comments

Comments
 (0)