Skip to content

Commit

Permalink
fix locale
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich committed Jun 4, 2024
1 parent 9ca881c commit f0c530a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.concurrent.atomic.AtomicReference;
import org.jetbrains.annotations.ApiStatus;
Expand Down Expand Up @@ -219,7 +220,7 @@ public static Map<String, Object> getAppStartMeasurement() {

final @NotNull Map<String, Object> result = new HashMap<>();
result.put("spans", spans);
result.put("type", metrics.getAppStartType().toString().toLowerCase());
result.put("type", metrics.getAppStartType().toString().toLowerCase(Locale.ROOT));
if (metrics.getAppStartTimeSpan().hasStarted()) {
result.put("app_start_timestamp_ms", metrics.getAppStartTimeSpan().getStartTimestampMs());
}
Expand Down

0 comments on commit f0c530a

Please sign in to comment.