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 upHTTP request sent, awaiting response in Prometheus. #2824
Comments
This comment has been minimized.
This comment has been minimized.
ghost
commented
Jun 14, 2017
|
Hello Could you please provide any update on this |
This comment has been minimized.
This comment has been minimized.
ev1lm0nk3y
commented
Jul 1, 2017
|
Does the endpoint http://10.9.64.47:9100/metrics work from other servers, or even from that server itself (i.e. on 10.9.64.47 try running As for Issue No. 2, if prometheus isn't able to get a response from your target(s) in the configured timeout, it will assume they are DOWN. Effectively your issues are linked; targets hang when asked for metrics and prometheus, rightfully, believes they aren't working. |
This comment has been minimized.
This comment has been minimized.
|
@srikanth789 You mention that Thus, closing the issue here. |
juliusv
closed this
Jul 8, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 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. |
srikanthdixit commentedJun 8, 2017
•
edited
Hello,
This is my prometheus configuration file.
my global config
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
scrape_timeout is set to the global default (10s).
Attach these labels to any time series or alerts when communicating with
external systems (federation, remote storage, Alertmanager).
external_labels:
monitor: 'codelab-monitor'
Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
"first.rules"
"second.rules"
A scrape configuration containing exactly one endpoint to scrape:
Here it's Prometheus itself.
scrape_configs:
The job name is added as a label job=<job_name> to any timeseries scraped from this config.
job_name: 'prometheus'
metrics_path defaults to '/metrics'
scheme defaults to 'http'.
static_configs:
targets:
"10.93.1.134:9100"
"10.9.64.47:9100"
Issue No 1: When i try to wget from prometheus server to destination server. Seems like request has been sent but response is not getting. Below is the reference.
wget http://10.9.64.47:9100/metrics
--2017-06-08 13:17:09-- http://10.9.64.47:9100/metrics
Connecting to 10.9.64.47:9100... connected.
HTTP request sent, awaiting response...
Issue No 2: In prometheus dashboard i can see the target servers are showing DOWN not sure what would be the issue. I might be doing something wrong. Any help would be greatly appreciated. Please find attached screeen shot is what i'm facing.