Hi all:
I'm new to use the Prometheus, I send data by Pushgateway and display data by Grafana.
I find I lose data for 3 minutes when I see grafana in two days. I think I send the data and the network is ok.
How to debug this case?
these versions:
#########################
prometheus-2.42.0-rc.0.linux-amd64
pushgateway-1.5.1.linux-amd64
grafana-9.3.6
#########################
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 use only one PushgateWay, Data loss will become more frequent. This is Why?
Thank you.