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

It must not be possible to instantiate the stats receiver more than once #216

Open
sklirg opened this issue Dec 8, 2021 · 0 comments
Open
Labels
enhancement New feature or request receiver Receiver-related

Comments

@sklirg
Copy link
Member

sklirg commented Dec 8, 2021

The stats receiver listens for stats on a global channel. If multiple receivers subscribe to it, using different configurations, stats will get split up and sent to different places. This is probably not the expected behaviour. There is no filtering mechanism on the channel, so a receiver cannot listen for only a specific type of stats either (though, this could be a feature in itself).

For now, it must be impossible to instantiate the stats receiver more than once. It must error before Skogul starts, i.e. during configuration.

@sklirg sklirg added enhancement New feature or request receiver Receiver-related labels Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request receiver Receiver-related
Projects
None yet
Development

No branches or pull requests

1 participant