5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-03 01:18:02 +03:00
proxmox-backup/www/Schema.js
Dominik Csapak f7ff48ded4 ui: add MetricServerView and use it
simple CRUD interface to show/add/edit/delete metric servers

it's a bit different from PVE's so it's harder to reuse that than to
copy it. If we need it again, we can still refactor and combine them.

introduce 'PBS.Schema' class to hold the server type/xtype mappings

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-13 10:01:05 +02:00

16 lines
242 B
JavaScript

Ext.define('PBS.Schema', {
singleton: true,
metricServer: {
'influxdb-http': {
type: 'InfluxDB (HTTP)',
xtype: 'InfluxDbHttp',
},
'influxdb-udp': {
type: 'InfluxDB (UDP)',
xtype: 'InfluxDbUdp',
},
},
});