Flowion Docs

Metrics

Fleet telemetry (voltage, current, temperature, etc.) backed by VictoriaMetrics, not Postgres — see docs/architecture's metrics-storage notes. Only three fixed lookback windows are exposed; arbitrary PromQL is not, since VictoriaMetrics itself is not reachable from outside this process.

1 endpoint

Charts one measurand for a charging_station over a fixed window, most recent point last. Scoped to periodic/standalone telemetry only — the same readings `GET /connectors/{id}/meter-values` serves from Postgres for non-transaction readings are, for the measurands VictoriaMetrics receives, also available here at whatever resolution `range` implies, without pagination.

get/v1/charging-stations/{charging_station_id}/metrics/{metric}Requires a bearer token

Parameters

NameInTypeDescription
charging_station_id*pathstring<uuid>ChargingStation id
metric*pathMetricWhich measurand to chart
range*queryRange

Responses

StatusBodyDescription
200GetMetricsResponseThe charted series for this metric and range
400ErrorBodyUnknown metric, or a range other than 1D/1W/1M
401ErrorBodyMissing, invalid, or expired bearer token
404ErrorBodyNo charging_station with this id exists, or you cannot access it
502ErrorBodyThe metrics store could not be reached
503ErrorBodyThe metrics store is not configured for this environment