Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow other plugins to register metrics #1

Open
terinjokes opened this issue Sep 7, 2020 · 0 comments
Open

allow other plugins to register metrics #1

terinjokes opened this issue Sep 7, 2020 · 0 comments

Comments

@terinjokes
Copy link
Owner

If there's interest from other developers, we could allow for external scripts to expose their own metrics (eg, a Twitch plugin could have metrics for responding to chat commands).

  1. What APIs do these developers need? We'd probably want to expose the fundamental types and the default registry at the very least.
  2. How should we handle OpenRCT2 plugin loading order? Other plugins may load before us. AFAICT, there's no hook for plugins loaded, so not a great way to signal to other plugins that we're now available. Pooling for our global could work, but not great.
  3. Allow users to disable metrics from specific plugins. We might be able to do this as part of a configuration UI (and initially the configuration file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant