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 wildcard in dc when querying services #2891

Open
iksaif opened this issue Apr 12, 2017 · 2 comments
Open

Allow wildcard in dc when querying services #2891

iksaif opened this issue Apr 12, 2017 · 2 comments
Labels
theme/federation-usability Anything related to Federation type/enhancement Proposed improvement or new feature
Milestone

Comments

@iksaif
Copy link

iksaif commented Apr 12, 2017

It would be great to allow wildcards in https://www.consul.io/api/catalog.html#dc-1, we use prometheus to monitor services in multiple datacenters and it's pretty annoying to list all the datacenters explicitely.

@slackpad slackpad added type/enhancement Proposed improvement or new feature post-0.9 labels May 1, 2017
@slackpad
Copy link
Contributor

slackpad commented May 1, 2017

Hi @iksaif this would be a pretty large change under the hood - are you doing a blocking query against this endpoint or are you polling (this kind of thing would be more suitable to polling)? Can you describe how you are pulling the data in some more detail?

This is closely related to #2803 but this generalizes scatter/gather more generally than #2803 does; that one just applies it to prepared queries.

@iksaif
Copy link
Author

iksaif commented May 2, 2017

I need this feature in software that are already using consul (like prometheus), I'm not doing queries by myself. It doesn't make sense to replicate this feature in every client, so I though it would be a good idea to make it possible in the API itself.

Couldn't the APIs be slightly changed to support that ? Maybe first it could be supported only by polling queries ?

@slackpad slackpad added the theme/federation-usability Anything related to Federation label May 25, 2017
@slackpad slackpad added this to the Unplanned milestone Jan 5, 2018
@slackpad slackpad removed the post-0.9 label Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/federation-usability Anything related to Federation type/enhancement Proposed improvement or new feature
Projects
None yet
Development

No branches or pull requests

2 participants