From 4681b24d74063a5f49147515828ba909db853b00 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Thu, 2 Apr 2026 22:40:33 +0200 Subject: Add hostname and payload stats to remote submit warnings - Include remote hostname alongside URI in display name for remote runners, set from orchestrator discovery data - Track attachment count and total attachment bytes during remote submissions and include them in the slow-submit warning --- src/zencompute/runners/remotehttprunner.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/zencompute/runners/remotehttprunner.h') diff --git a/src/zencompute/runners/remotehttprunner.h b/src/zencompute/runners/remotehttprunner.h index 2010c98e8..fdf113c77 100644 --- a/src/zencompute/runners/remotehttprunner.h +++ b/src/zencompute/runners/remotehttprunner.h @@ -54,9 +54,10 @@ public: [[nodiscard]] virtual size_t QueryCapacity() override; [[nodiscard]] virtual std::vector SubmitActions(const std::vector>& Actions) override; virtual void CancelRemoteQueue(int QueueId) override; - [[nodiscard]] virtual std::string_view GetDisplayName() const override { return m_HostName; } + [[nodiscard]] virtual std::string_view GetDisplayName() const override { return m_DisplayName; } std::string_view GetHostName() const { return m_HostName; } + void SetRemoteHostname(std::string_view Hostname); protected: LoggerRef Log() { return m_Log; } @@ -66,6 +67,7 @@ private: ChunkResolver& m_ChunkResolver; WorkerThreadPool& m_WorkerPool; std::string m_HostName; + std::string m_DisplayName; std::string m_BaseUrl; HttpClient m_Http; -- cgit v1.2.3