dyrkin / tasmota-exporter

A Prometheus exporter for Tasmota-enabled devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Status1/StatusPRM RestartReason not captured

codefaux opened this issue · comments

First and foremost you're awesome. I was thrilled to see a Tasmota exporter.

I specifically need to monitor RestartReason on a few devices, to try to determine where a fault actually lies and gauge their relative reliability, as I've had a few intermittent malfunctions.

RestartReason is provided and honestly feels like one of the more important metrics from a diagnostic standpoint. Could you be convinced to make a pass through the reported status variables, and add RestartReason?

Hello! Sorry, I've missed the issue somehow. could you do this?

Uh. Dunno, never tried Go before. Let's find out, eh? I've got a few things going on but I'm curious so I'll take a stab at it. Not sure I understand how the exporter is determining which items to extract, but - I'm curious so I'll try, lol.

I'll PR or cede defeat when I have time to look at it, probably this week/weekend.