PHP Metrics
What is a metric?
A metric is time-series data that represents the state of a monitoring target as numerical values. It is the result of processing performance data collected by the WhaTap agent from monitoring targets.
Through metrics, you can view key performance indicators such as memory usage per server and DB connection time at a glance. After identifying a problem, you can perform detailed analysis through logs and traces.
Resource usage statistics help you estimate the required amount of resources, which can also be used for cost optimization.
How WhaTap collects metrics

To collect metrics, install the WhaTap agent on the monitoring target. Metrics sent by the agent are stored on the WhaTap collection server.
For example, to monitor PHP applications, first install the agent. See Application metrics for available metrics.
Metric components
WhaTap metrics consist of the following components:
- Category: A name that groups related metrics.
- Tags: Labels that identify collection targets. Stores rarely-changing unique information such as IP, Oname, and Host. A metric can contain multiple tags.
- Fields: Stores actual measured values. A metric can contain multiple fields.
- Time: The time when the metric was collected.
- Oid: The unique number of the agent that collected the metric.
- Oname: The name of the agent that collected the metric.
Viewing and visualizing metrics
WhaTap provides menus to view collected metrics in various ways.
- Metrics Search: View the original metric data.
- Metrics Chart: View metric data through visualized charts.
- Metrics Anomaly Detection: Detect anomalies by comparing with metric patterns learned by AI.
