ioBroker / ioBroker.influxdb

Store history data in InfluxDB (not for Windows)
MIT License
36 stars 25 forks source link

Receive Metrics from Influx #310

Open MK-2001 opened 1 year ago

MK-2001 commented 1 year ago

Since version 2.x the influx server offers an metrics endpoint on the server (if not disabled): https://docs.influxdata.com/influxdb/v2.5/reference/config-options/#metrics-disabled

Metrics description: https://docs.influxdata.com/influxdb/v2.5/reference/internals/metrics/

In this endpoint you are able to receive information about errors when writing back some measurements or see the used space sizes etc.

Within ioBroker it cloud be interesting when you see the disk space etc for debugging ors see how long the write back of the measurements will need.

Is it an feature what could be considered for this adapter or should it solved in a separate one?

Kind regards Marcus

Apollon77 commented 1 year ago

I think it could be added to poll it ... but then also the token needs additional rights ... need to think about it