Agent Overview
The Amplify Agent is the core component that collects metrics from your systems and sends them to GetPageSpeed Amplify for analysis and visualization.
How It Works
The Amplify Agent is a compact Python application that:
- Detects and monitors NGINX processes
- Parses NGINX configuration files
- Collects metrics from stub_status/plus API
- Gathers system-level metrics (CPU, memory, disk, network)
- Sends data securely to GetPageSpeed Amplify
Data Collection
The agent collects several types of data:
NGINX Metrics
- Requests per second
- Active connections
- Request processing time
- Response codes (2xx, 3xx, 4xx, 5xx)
- Upstream response time
System Metrics
- CPU utilization
- Memory usage
- Disk I/O and space
- Network throughput
Configuration Data
- NGINX configuration files
- SSL certificate information
- Virtual server definitions
Security
The agent is designed with security in mind:
- All communication uses TLS encryption
- No inbound connections required
- Runs as a non-privileged user
- Open source and auditable
Resource Usage
The agent typically uses less than 50MB of memory and minimal CPU. It's designed to have negligible impact on your server's performance.