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
| Name | In | Type | Description |
|---|---|---|---|
| charging_station_id* | path | string<uuid> | ChargingStation id |
| metric* | path | Metric | Which measurand to chart |
| range* | query | Range | — |
Responses
| Status | Body | Description |
|---|---|---|
| 200 | GetMetricsResponse | The charted series for this metric and range |
| 400 | ErrorBody | Unknown metric, or a range other than 1D/1W/1M |
| 401 | ErrorBody | Missing, invalid, or expired bearer token |
| 404 | ErrorBody | No charging_station with this id exists, or you cannot access it |
| 502 | ErrorBody | The metrics store could not be reached |
| 503 | ErrorBody | The metrics store is not configured for this environment |