#Centipede IWYU in stats.*

PiperOrigin-RevId: 555239330
diff --git a/centipede/BUILD b/centipede/BUILD
index 4f5e05f..d9dcd92 100644
--- a/centipede/BUILD
+++ b/centipede/BUILD
@@ -237,6 +237,7 @@
         ":remote_file",
         "@com_google_absl//absl/container:btree",
         "@com_google_absl//absl/container:flat_hash_map",
+        "@com_google_absl//absl/log",
         "@com_google_absl//absl/log:check",
         "@com_google_absl//absl/strings",
         "@com_google_absl//absl/strings:str_format",
@@ -973,10 +974,11 @@
     name = "stats_test",
     srcs = ["stats_test.cc"],
     deps = [
-        ":logging",
+        ":environment",
         ":stats",
         ":test_util",
         ":util",
+        "@com_google_absl//absl/log:log_entry",
         "@com_google_absl//absl/log:log_sink",
         "@com_google_absl//absl/log:log_sink_registry",
         "@com_google_absl//absl/time",
diff --git a/centipede/stats.cc b/centipede/stats.cc
index b3217a0..b45bd0b 100644
--- a/centipede/stats.cc
+++ b/centipede/stats.cc
@@ -16,13 +16,25 @@
 
 #include <algorithm>
 #include <cinttypes>
+#include <cmath>
 #include <cstdint>
+#include <cstdlib>
+#include <cstring>
+#include <initializer_list>
+#include <iomanip>
+#include <ios>
+#include <iosfwd>
 #include <limits>
 #include <numeric>
+#include <sstream>
+#include <string>
 #include <utility>
 #include <vector>
 
 #include "absl/log/check.h"
+#include "absl/log/log.h"
+#include "absl/strings/ascii.h"
+#include "absl/strings/str_cat.h"
 #include "absl/strings/str_format.h"
 #include "absl/strings/substitute.h"
 #include "absl/time/time.h"
diff --git a/centipede/stats.h b/centipede/stats.h
index a42cd83..3b3e941 100644
--- a/centipede/stats.h
+++ b/centipede/stats.h
@@ -17,11 +17,13 @@
 
 #include <atomic>
 #include <cstdint>
+#include <cstdlib>
 #include <initializer_list>
 #include <ostream>
 #include <sstream>
 #include <string>
 #include <string_view>
+#include <vector>
 
 #include "absl/container/btree_map.h"
 #include "absl/container/flat_hash_map.h"
diff --git a/centipede/stats_test.cc b/centipede/stats_test.cc
index 45fa46e..6b6dd5c 100644
--- a/centipede/stats_test.cc
+++ b/centipede/stats_test.cc
@@ -14,18 +14,22 @@
 
 #include "./centipede/stats.h"
 
+#include <cstddef>
 #include <cstdint>
 #include <filesystem>  // NOLINT
 #include <sstream>
+#include <string>
+#include <string_view>
 #include <vector>
 
 #include "gmock/gmock.h"
 #include "gtest/gtest.h"
+#include "absl/log/log_entry.h"
 #include "absl/log/log_sink.h"
 #include "absl/log/log_sink_registry.h"
 #include "absl/time/civil_time.h"
 #include "absl/time/time.h"
-#include "./centipede/logging.h"
+#include "./centipede/environment.h"
 #include "./centipede/test_util.h"
 #include "./centipede/util.h"