NewRelic Instrumentation of the Elasticsearch PHP SDK

Jul 15, 2017

We run Elasticsearch in production, fronted by an API which abstracts away complex queries and
presents our APIs which consume the data a consistent interface. It came to my attention
recently that we had no visibility in NewRelic on external transaction time going to ES.

In a nutshell, the problem turned out to be that the elasticsearch-php-sdk uses RingPHP
as a transport, which NewRelic doesn’t support.