Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upfederate target error with net/http request canceled #1672
Comments
This comment has been minimized.
This comment has been minimized.
|
Pre-0.19 had a bug that would not honor the set timeout properly. Your error message looks like you are hitting the timeout while retrieving metrics. Federation can sometimes be somewhat slow (but was sped up a lot with 0.18). In your case, I'd try to increase the timeout configured for the federation target (and increase the scrape interval if needed, the latter cannot be smaller than the former). |
This comment has been minimized.
This comment has been minimized.
|
@beorn7 thanks for your reply. yes, it is a little slow to federate metrics from the other one. if i enlarge the federation interval, whether i will lose some metrics at some timestamp? take for example:
is it means that thanks. |
This comment has been minimized.
This comment has been minimized.
|
The resolution on your federating server will then indeed be lower than the resolution on the server you are federating from. Some users deliberately use this setup for downsampling. |
This comment has been minimized.
This comment has been minimized.
|
the samples of the federate targets is too large to get back in time. thanks. closing it. |
guanglinlv
closed this
Jun 13, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
guanglinlv commentedMay 27, 2016
•
edited
hi, my prometheus server will federate metrics from the other prometheus.
net/http request canceledoccurs after a day of running.i'm using the prometheus-.17.0 all the time before updating to 0.19.1, the federation always work correctly. so,i will roll back to 0.17.0 and test it again.
any change on it or any suggestion? thanks a lot.