From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id C76736C05D for ; Thu, 28 Jan 2021 17:36:11 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id BA7CA2FC07 for ; Thu, 28 Jan 2021 17:36:11 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 34DCF2FBFA for ; Thu, 28 Jan 2021 17:36:11 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id ED56946149 for ; Thu, 28 Jan 2021 17:36:10 +0100 (CET) To: Proxmox VE development discussion , Dominik Csapak References: <20201202092113.15911-1-d.csapak@proxmox.com> From: Thomas Lamprecht Message-ID: <03c52085-d6ca-9c83-1ae6-1c3a5fa82a12@proxmox.com> Date: Thu, 28 Jan 2021 17:36:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Thunderbird/85.0 MIME-Version: 1.0 In-Reply-To: <20201202092113.15911-1-d.csapak@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.064 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [tools.pm, influxdb.pm, plugin.pm, extmetric.pm, metricserver.pm, config.pm] Subject: [pve-devel] applied-series: [PATCH common/storage/manager/docs] implement http api for influxdb status plugin X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2021 16:36:11 -0000 On 02.12.20 10:21, Dominik Csapak wrote: > this series adds the possibility to write influxdb data via their > v2 api. For influxdb 1.x there is a forwards compatible api since 1.8.0 > > i am not so sure about how i integrated the http api part into the > existing influxdb plugin, another alternative would be to have > a new InfluxDB2 Plugin that does only http(s). > this way i could omit the permanent 'cfg->proto' check, but i am not > sure if we want to have a new plugin for this.. > > manager/storage patches depend on common, but the storage patch is not needed for > it to work > > pve-common: > > Dominik Csapak (1): > tools: add extract_sensitive_params > > src/PVE/Tools.pm | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > pve-storage: > > Dominik Csapak (1): > api: storage/config: use extract_sensitive_params from tools > > PVE/API2/Storage/Config.pm | 29 ++++------------------------- > 1 file changed, 4 insertions(+), 25 deletions(-) > > pve-manager: > > Dominik Csapak (7): > api: cluster/metricserver: prevent simultaneosly setting and deleting > of property > status/plugin: extend send/_connect/_disconnect/test_connection > status/plugin: extend with add/update/delete hooks > status/influxdb: implement influxdb 2.x http api > status/influxdb: remove unnecessary comment > ui: add necessary fields for influxdb http api > ui: dc/MetricServerView: add onlineHelp to edit windows > > PVE/API2/Cluster/MetricServer.pm | 41 ++++- > PVE/ExtMetric.pm | 4 +- > PVE/Status/InfluxDB.pm | 222 ++++++++++++++++++++++++++-- > PVE/Status/Plugin.pm | 38 ++++- > www/manager6/dc/MetricServerView.js | 105 ++++++++++++- > 5 files changed, 375 insertions(+), 35 deletions(-) > > pve-docs: > > Dominik Csapak (1): > external metrics server: extend docs to explain http api > > pve-external-metric-server.adoc | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > applied remaining parts of the series, thanks! FYI: Had to resolve a small merge conflict due to context change in the "status/plugin: extend send/_connect/_disconnect/test_connection" commit