-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn off/on victron stop metrics changes #44
Comments
invertergui/plugins/prometheus/prometheus.go Line 126 in 47e73a4
There is no mechanism that reset |
The valid flag is set on the Do you see any debug logs that contain |
I just rebuild from And the value of I'm adding extra logging statements to figure
yes actually |
just |
Without |
PR #45 improve things a bit, but I still don't get anymore |
@ncthompson beside |
If invertergui starts while the victron is off and later turned on. the metrics are never digested. the only way to really handle that other case as well is looping and run |
Victron is connected to a single-board computer through
/dev/ttyUSB0
.Invetergui is running from ARM64 Docker image.
But everytime I turn off Victron for a while and turn it on. There is nore new metrics values published. But the metrics as still being ingested from the serial interface, as the debug logs show changes in values pulled from the Victron, example:
and later:
Among other values that are changed, the value of
BatVoltage
changed from26.84
to26.85
.but if I look at prometheus metrics the value is stuck at when I restarted Victron:
The text was updated successfully, but these errors were encountered: