-
Notifications
You must be signed in to change notification settings - Fork 128
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
Query result may incomplete #14
Comments
First off, thanks for reporting the issue! Documentation is important, but sometimes hard to get right on the first go around.
Partially correct. A servergroup is a set of prometheus hosts which are "configured the same". Promxy will actually query every host in the server group (until #3 is done) to merge the datapoints together.
Exactly, and this is what a I've opened #15 with a FAQ entry to address this, mind taking a look to make sure its clear? |
@jacksontj |
glad to hear it! If you have any other questions/concerns/comments definitely let me know! I'll go ahead and merge in that README update. |
😂 This tool is what I'm looking for too. |
It's not clear form README, but I read the code and found that the server_groups means the HA pair of prometheus, which run with the same config. And current implementation is reading from only one server in the server group.
If I'm wrong, please correct me and ignore below.
Because prometheus don't support clustering or bulk import, it may lack some time series data due to server temporally down or reloading config. The best practice is running 2 prometheus with same config to provide HA. The single prometheus may lack some data in query result, but we can get all data if we combined the HA pair result.
Because current implementation read from only one server in the server group, the result may be incomplete. I suggest make it read at least 2 servers in server group and combine the result.
The text was updated successfully, but these errors were encountered: