[pve-devel] [PATCH manager 5/5] ui: metrics: influxdb: add support for new api-path-prefix field
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Mar 15 09:14:57 CET 2021
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
www/manager6/dc/MetricServerView.js | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/www/manager6/dc/MetricServerView.js b/www/manager6/dc/MetricServerView.js
index edb40cc5..c599886f 100644
--- a/www/manager6/dc/MetricServerView.js
+++ b/www/manager6/dc/MetricServerView.js
@@ -247,6 +247,7 @@ Ext.define('PVE.dc.InfluxDBEdit', {
me.up('inputpanel').down('field[name=organization]').setDisabled(isUdp);
me.up('inputpanel').down('field[name=bucket]').setDisabled(isUdp);
me.up('inputpanel').down('field[name=token]').setDisabled(isUdp);
+ me.up('inputpanel').down('field[name=api-path-prefix]').setDisabled(isUdp);
me.up('inputpanel').down('field[name=mtu]').setDisabled(!isUdp);
me.up('inputpanel').down('field[name=timeout]').setDisabled(isUdp);
me.up('inputpanel').down('field[name=max-body-size]').setDisabled(isUdp);
@@ -300,6 +301,16 @@ Ext.define('PVE.dc.InfluxDBEdit', {
],
advancedColumn1: [
+ {
+ xtype: 'proxmoxtextfield',
+ name: 'api-path-prefix',
+ fieldLabel: gettext('API Path Prefix'),
+ allowBlank: true,
+ disabled: true,
+ cbind: {
+ deleteEmpty: '{!isCreate}',
+ },
+ },
{
xtype: 'proxmoxintegerfield',
name: 'timeout',
--
2.29.2
More information about the pve-devel
mailing list