curl http://127.0.0.1:8088/metrics # HELP phpfpm_accepted_connections_total Total number of accepted connections # TYPE phpfpm_accepted_connections_total counter phpfpm_accepted_connections_total 6859 # HELP phpfpm_active_max_processes Maximum active process count # TYPE phpfpm_active_max_processes counter phpfpm_active_max_processes 2 # HELP phpfpm_listen_queue_connections Number of connections that have been initiated but not yet accepted # TYPE phpfpm_listen_queue_connections gauge phpfpm_listen_queue_connections 0 # HELP phpfpm_listen_queue_length_connections The length of the socket queue, dictating maximum number of pending connections # TYPE phpfpm_listen_queue_length_connections gauge phpfpm_listen_queue_length_connections 0 # HELP phpfpm_listen_queue_max_connections Max number of connections the listen queue has reached since FPM start # TYPE phpfpm_listen_queue_max_connections counter phpfpm_listen_queue_max_connections 0 # HELP phpfpm_max_children_reached_total Number of times the process limit has been reached # TYPE phpfpm_max_children_reached_total counter phpfpm_max_children_reached_total 0 # HELP phpfpm_processes_total process count # TYPE phpfpm_processes_total gauge phpfpm_processes_total{state="active"} 1 phpfpm_processes_total{state="idle"} 1 # HELP phpfpm_scrape_failures_total Number of errors while scraping php_fpm # TYPE phpfpm_scrape_failures_total counter phpfpm_scrape_failures_total 0 # HELP phpfpm_slow_requests_total Number of requests that exceed request_slowlog_timeout # TYPE phpfpm_slow_requests_total counter phpfpm_slow_requests_total 0 # HELP phpfpm_up able to contact php-fpm # TYPE phpfpm_up gauge phpfpm_up 1
# 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).
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'. rule_files: # - "first_rules.yml" # - "second_rules.yml"
# 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'.