Application Performance Monitoring

Kinsta's WordPress APM

apm hero image

The Internals

A PHP Agent with ElasticSearch

The APM is a free feature that allows Kinsta's users to see preformance bottlenecks in their WordPress sites. The data collected by the APM was using a PHP Agent that was custom built at Kinsta and is collecting data which is stored in ElasticSearch. When the Agent is enabled it will be prepended to the PHP processes and measure the amount of time hooks, functions, db queries, and external queries would take.

enabling the kinsta apm

Data Visualization

Filterable Charts

data chart of the kinsta apm

The data collected is consumed from ElasticSearch using GraphQL and displayed in the MyKinsta application dashboard. The data visualization is meant help display which technical areas of the site are the slowest.

Drilling Down

Sorting Tables

Tabbed sections with sortable tables allow users to easily drill down to which areas of their site are the slowest. Clicking items in the span table opens a modal to diaplay a stack trace that helps users pinpoint where optimizations could be applied.

sorted wordpress table