void HystrixSink::addHistogramToStream(const QuantileLatencyMap& latency_map, absl::string_view key,
void HystrixSink::addIntToStream(absl::string_view key, uint64_t value, std::stringstream& info,
void HystrixSink::addDoubleToStream(absl::string_view key, double value, std::stringstream& info,
std::time_t currentTime = std::chrono::system_clock::to_time_t(server_.timeSource().systemTime());
addHystrixCommand(cluster_stats_cache, cluster_name, max_concurrent_requests, reporting_hosts,
addHystrixThreadPool(cluster_name, max_concurrent_requests, reporting_hosts, rolling_window_ms,
response_headers.setReferenceContentType(Http::Headers::get().ContentTypeValues.TextEventStream);
Upstream::ClusterManager::ClusterInfoMaps all_clusters = server_.clusterManager().clusters();
void HystrixSink::registerConnection(Http::StreamDecoderFilterCallbacks* callbacks_to_register) {
void HystrixSink::unregisterConnection(Http::StreamDecoderFilterCallbacks* callbacks_to_remove) {
// If there are no callbacks, clear the map to avoid stale values or having to keep updating the
// map. When a new callback is assigned, the rollingWindow is initialized with current statistics