mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-10 02:05:49 +00:00
ui: metrics: set default for port
while it may not be always correct, we can only win by setting a reasonable default, taken from * graphite: https://graphite.readthedocs.io/en/stable/feeding-carbon.html#the-plaintext-protocol * influxdb, udp port: https://docs.influxdata.com/influxdb/v1.8/administration/ports/ Also, changing that is easy for the admin and can always be done afterwards. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1eb6d2bfdd
commit
9f4e985d99
@ -224,6 +224,7 @@ Ext.define('PVE.dc.InfluxDBEdit', {
|
|||||||
xtype: 'proxmoxintegerfield',
|
xtype: 'proxmoxintegerfield',
|
||||||
name: 'port',
|
name: 'port',
|
||||||
fieldLabel: gettext('Port'),
|
fieldLabel: gettext('Port'),
|
||||||
|
value: 8089,
|
||||||
minValue: 1,
|
minValue: 1,
|
||||||
maximum: 65536,
|
maximum: 65536,
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
@ -303,6 +304,7 @@ Ext.define('PVE.dc.GraphiteEdit', {
|
|||||||
xtype: 'proxmoxintegerfield',
|
xtype: 'proxmoxintegerfield',
|
||||||
name: 'port',
|
name: 'port',
|
||||||
fieldLabel: gettext('Port'),
|
fieldLabel: gettext('Port'),
|
||||||
|
value: 2003,
|
||||||
minimum: 1,
|
minimum: 1,
|
||||||
maximum: 65536,
|
maximum: 65536,
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user