[pve-devel] [PATCH common/storage/manager/docs] implement http api for influxdb status plugin

Dominik Csapak d.csapak at proxmox.com
Wed Dec 2 10:21:03 CET 2020


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(+)

-- 
2.20.1






More information about the pve-devel mailing list