50 ServerMonitor(
const components::ComponentConfig& config,
const components::ComponentContext& component_context);
54 static constexpr std::string_view
kName =
"handler-server-monitor";
61 std::string GetResponseDataForLogging(
62 const http::HttpRequest& request,
63 request::RequestContext& context,
64 const std::string& response_data
67 utils::statistics::Storage& statistics_storage_;
69 using CommonLabels = std::unordered_map<std::string, std::string>;
70 const CommonLabels common_labels_;
71 const std::optional<impl::StatsFormat> default_format_;