server
server copied to clipboard
Metrics
Hi.
I'm building a custom broker based off of mochi-mqtt. One things I'm adding is prometheus metrics. I'm doing this in a plugin. A couple of questions arise.
Should I contribute this work? I guess it would end up in the hooks repo. The downside of doing it in a plugin is that there is a bit higher setup-cost and a higher CPU and memory overhead (you have to track clients two places, etc). So, if y'all are planning native metrics support (the README says it is on the roadmap) there is no point in building a nice metric-plugin.
All the best,
Per.