# Functions
CountProcessState return the calculated metrics based on the reported processes.
JSONResponseFixer resolves encoding issues with PHP-FPMs JSON response.
NewExporter creates a new Exporter for a PoolManager and configures the necessary metrics.
SetLogger configures the used logger.
# Constants
PoolProcessRequestEnding defines a process that is about to end.
PoolProcessRequestFinishing defines a process that is about to finish.
PoolProcessRequestIdle defines a process that is idle.
PoolProcessRequestInfo defines a process that is getting request information.
No description provided by the author
PoolProcessRequestReadingHeaders defines a process that is reading headers.
PoolProcessRequestRunning defines a process that is running.
# Structs
Exporter configures and exposes PHP-FPM metrics to Prometheus.
Pool describes a single PHP-FPM pool that can be reached via a Socket or TCP address.
PoolManager manages all configured Pools.
PoolProcess describes a single PHP-FPM process.
PoolProcessStateCounter holds the calculated metrics for pool processes.