Replies: 5 comments 6 replies
-
I know it's backlog, but if you have any desire to have this worked, I would love poking around at that plugin interface. Or for the second option you could support a couple standard protocols, maybe statsd and something on mqtt? You could also expose the existing internal metrics collector over a Prometheus endpoint, which has a lot of momentum. Those could all be built as plugins for option 1 though too. |
Beta Was this translation helpful? Give feedback.
-
Thanks John! I have some thoughts around this, but mostly questions :) I'd love to hear about what problems people are looking to solve before a true solution is built. I do like the idea of using statsd and mqtt, since there's large ecosystems around it. I think Prometheus is an obvious choice, but I'm not sure what of those would be most useful right now because it's not clear to me who's problem, and what their typical stack is, that we're solving for at the moment. As for particulars of specific metrics, the hardware metrics that we're collecting is to help alert the user and help them troubleshoot things, but for external metrics they'd already have much more detailed hardware metrics so that's not terribly useful. Maybe start with just one obvious item and go from there. And in this case the one thing I could think that's small and obvious is viewer counts over time. While that's not performance related, it is an important metric, and I'm assuming this is something anybody doing external monitoring would want. I'd love to hear thoughts from anybody else who has particular use cases. I'm not opposed to a spike and a proof of concept just to see how things would work, but I'm hesitant to add a new feature for something that's not clearly addressing a use case. |
Beta Was this translation helpful? Give feedback.
-
Fair enough! You have a good point on the hardware. If they are setting up monitoring those things are often covered out of the box. I may tinker around with the plugin system for kicks, then if this or anything else could leverage that, I’m happy to give a primer on it or do the work. But I won’t pursue this until there is a more defined problem. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I'd be super interested to hear about what you might find with plugins! The idea of plugins, in a more generic sense, is super interesting to me and I think could be leveraged in really cool ways. Auth, paywalls, and specific storage providers are all things that have come to mind, aside from instrumenting metrics, that I think could make a ton of sense as a plugin. Instantiating a plugin that opens up some new endpoints or works as some kind of middleware for specific functionality seems like a sweet solution for things. |
Beta Was this translation helpful? Give feedback.
-
When chatting with @muesli he shared some of the nitty gritty about Go Plugins, and that there may be more catches than we were aware of: https://owncast.rocket.chat/channel/general?msg=igmByfp9y5PJP6od4
He suggested for plugin type things we check out https://github.com/hashicorp/go-plugin. |
Beta Was this translation helpful? Give feedback.
-
The topic of externally tracking metrics have come up a few times. I wanted to open this issue as a place to discuss it.
I've thought about the following as options:
Beta Was this translation helpful? Give feedback.
All reactions