@diyha you mentioned ([SOLVED] Presence with Android after using Iphone - #48 by diyha) you would like to see some “stats” from your openHAB instance. I think this bundle will do the thing for you.
In detail:
- what bindings are installed

- what bindings were uninstalled after they were installed
(you record the installed bundles over time in prometheus and look at them, can even issue PromQL queries to filter bundles for specific properties, e.g. changed from installed to uninstalled) - how many things a binding serves
(this is not directly implemented yet, but you will get a list of all things) - how many exceptions are thrown by a binding shortly after being installed (may indicate poor docs and poor parm descriptions)
(the metrics bundle counts the number of log messages by level) - how many exceptions are thrown by a binding in a given time
(see above) - how many exceptions are thrown by platform (may indicate popular platform issue)
(see above and additionally the events per source are counted, this will also be revealing) - how often OH reboots
not directly counted but can be inferred from resetting event counters - how often rule engine throws errors (may indicate poor rue language VM and tooling)
(counted in the logs and event bus) - etc
(number of inbox entries, bundle and thing state, thread/pool size and counts, jvm/process/memory insights)
Let me know if you have any questions, suggestions or feature requests or if the bundle helps you in any way.