eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
862 stars 783 forks source link

FR: add channels to watch ESH health #6761

Closed ggzengel closed 5 years ago

ggzengel commented 5 years ago

I think there a some values for checking the healthiness of ESH. Please make them available in channels to use them like icinga2 does.

I think about: queue length average and max time to execute a job in a queue load memory ...

kaikreuzer commented 5 years ago

See https://github.com/eclipse/smarthome/pull/6167 and its linked discussion at https://www.eclipse.org/forums/index.php?t=msg&th=1094339&goto=1793459&#msg_1793459.

Feel free to create PRs that provide such data through the metrics API.

ggzengel commented 5 years ago

Did I understand it right? You want to put it outside (REST), take it inside again(HTTP) and covert strings? Isn't it easier while updating the metrics API to create channels, too?