Hi all:
I'm the new to Prometheus. I send data to Prometheus by Pushgatway, and I display data by Grafana. I find I lose data for 3 minutes. How to debug it ? I think the client which send data is OK, I check the log. And the network between the client and Pushgatway is alwyas OK.
I use these versions:
#########################
prometheus-2.42.0-rc.0.linux-amd64
pushgateway-1.5.1.linux-amd64
grafana-9.3.6
#########################
The Prometheus config:
##########################
- job_name: "pushgatewayoverflow"
#honor_labels: true
scrape_interval: 30s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
static_configs:
- targets: ["
127.0.0.1:9091"]
- job_name: "pushgatewayportflow"
#honor_labels: true
scrape_interval: 30s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
static_configs:
- targets: ["
127.0.0.1:9092"]
- job_name: "pushgatewaybuflow"
#honor_labels: true
scrape_interval: 30s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
static_configs:
- targets: ["
127.0.0.1:9093"]
##########################
If I just use only one Pushgateway, the frequency of data loss will increase.
Thank you.