-
Notifications
You must be signed in to change notification settings - Fork 796
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
Add metric for cluster.max_shards_per_node #277
Conversation
fixes prometheus-community#271 Signed-off-by: Christoph Maser <[email protected]>
nice, thanks a lot! Looks good so far. Ping me if you want to merge |
So, turns out i forgot to encode the query params and the I also moved the test json content into files under a new @zwopir BTW its quite easy to generate arbitrary test fixtures by simply firing up a container eg
And then fetching the data, eg:
@zwopir so i think this is ready to review :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, except a little thing in opening the fixture files. Thanks a lot! The proposed change makes the fixture opening code so short that it doesn't make sense to exclude it to a utils
package IMO.
thank you! |
Any chance to get it released? |
Hi, I'm really interested in this functionality - do you have any plans to create a new release? |
First draft, still need to do some testing. Also want to clean up and put the test json strings in separte fixture files.
fixes #271
Signed-off-by: Christoph Maser [email protected]