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

Support limiting number of data sources #350

Closed
jen-huang opened this issue Apr 15, 2020 · 3 comments
Closed

Support limiting number of data sources #350

jen-huang opened this issue Apr 15, 2020 · 3 comments
Assignees

Comments

@jen-huang
Copy link
Contributor

For some packages like Endpoint, agent configs can only support 1 data source from that package. Those restricted data source definitions should have a property to flag that for down stream consumers.

Property name ideas:
no_conflict: boolean (if true, up to 1 of same data source)
no_duplicate: boolean (same as above)
self_limit: number (if specified, up to the limit value of same data source)

(...naming is hard 😅)

@ruflin
Copy link
Contributor

ruflin commented Apr 16, 2020

What about multiple: false? I would prefer we stick with a boolean for now as I don't see a use case where we would say 42 are possible.

@jen-huang
Copy link
Contributor Author

+1 on that naming and boolean @ruflin

@ruflin
Copy link
Contributor

ruflin commented Apr 21, 2020

I opened #361 for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants