You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metrics parser is not working in time format ISO8601 and delimiter ";" (not sure if the standard one is ',' or ';')
>>>> Opened metrics.csv
Traceback (most recent call last):
File "//start.py", line 5, in <module>
from esxtop_metric_server import esxtop_bp
File "/esxtop_metric_server.py", line 171, in <module>
reloadMetrics()
File "/esxtop_metric_server.py", line 164, in reloadMetrics
metrics["time"].append(timeToMillis(columns[0].replace('"', '')))
File "/esxtop_metric_server.py", line 124, in timeToMillis
return datetime.strptime(time,'%m/%d/%Y %H:%M:%S').timestamp()
File "/usr/local/lib/python3.9/_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "/usr/local/lib/python3.9/_strptime.py", line 349, in _strptime
raise ValueError("time data %r does not match format %r" %
ValueError: time data '2021-04-28T21:17:00.000Z;88;0;52;1;0;0;0;0;3;0;0;0;0;4;0;5;0;20;0;0;4263;49;2896;0;0;0;302;0;0;0;0;1;0;0;0;1014;4352\n' does not match format '%m/%d/%Y %H:%M:%S'
1
podman start -a esxtop-grafana_grafana_1
Metrics parser is not working in time format ISO8601 and delimiter ";" (not sure if the standard one is ',' or ';')
A working arround is in progress in https://github.com/mtulio/esxtop-grafana/tree/devel
The text was updated successfully, but these errors were encountered: