From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 89F1F1FF183 for ; Wed, 27 Aug 2025 09:20:32 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2D20B11BF2; Wed, 27 Aug 2025 09:20:33 +0200 (CEST) Message-ID: <5b4de73b-2be5-463a-9b03-167df8354a65@proxmox.com> Date: Wed, 27 Aug 2025 09:19:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta To: Proxmox Datacenter Manager development discussion , Dominik Csapak , Lukas Wagner References: <20250821095319.134215-1-l.wagner@proxmox.com> <3584b07f-92b7-4cf6-a0f4-6adf7f5752d6@proxmox.com> Content-Language: de-DE, en-US From: Thomas Lamprecht In-Reply-To: <3584b07f-92b7-4cf6-a0f4-6adf7f5752d6@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1756279194713 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.029 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pdm-devel] [PATCH proxmox-datacenter-manager v6 00/23] metric collection improvements (concurrency, API, CLI) X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" On 21/08/2025 14:54, Dominik Csapak wrote: > just a first high level question while i'm testing/reviewing this: > > when using this patch, it seems the collection interval is much reduced? > > e.g. in the gui I'm missing up to the last 10 minutes now? > (at 14:49 the last point i have for the rrd is from 14:40) > > is this by design? i get that we don't want to pull too often, > but showing up to 10minutes out of date graphs is also not practical? Yes this was by design, or well indeed mine and also Dietmars request. But surely something that might warrant a central knob with a per remote override in the future (or smarter heuristics depending on remote node count and latency, i.e. how long the last few metric queries took on average). But the idea was also to fetch missing data on demand if required, e.g. when a user visits a specific resource with a time frame length where this is noticeable, like you mentioned that it mostly sticks out for the last-hour time frame. > my naive solution would be to proxy the rrd requests to the > pve nodes directly, but then why would we need the metric > collection in the first place? Those two are a bit orthogonal to each other, we want RRD collection to not depend on every remote having to be online all the time (to see when it went offline, to avoid high latency to add many delays, ...), and being able to do quick metrics and stats computations on all resources (which will never be 100% real time anyway). The other is seeing most recent data, e.g. when investigating why something is slow or what not. _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel