ostrolucky/newrelic-datastore-redis-cluster-extension

Provides RedisCluster phpredis integration for NR APM datastore by forwarding redis calls through newrelic_record_datastore_segment function

0.1.1 2022-01-18 15:10 UTC

This package is auto-updated.

Last update: 2024-10-12 16:26:07 UTC


README

Provides missing \RedisCluster datastore integration to NewRelic PHP extension

About

You might have found out NewRelic PHP extension doesn't support to monitor \RedisCluster queries.

You can see that in their knowledge base as well as in their bug tracker.

What NewRelic support recommends doing, is to use custom instrumentation via newrelic_record_datastore_segment. However, doing that manually is cumbersome. Redis has lot of functions.. That's where this package comes in play. It's meant to be used along snc/redis-bundle. You install it and voila, you should be able to see redis commands in your NewRelic APM screen.

Installation

Install this package as a dependency using Composer.

composer require ostrolucky/newrelic-datastore-redis-cluster-extension

There is also one prerequisite for snc_redis: Logging of your snc_redis client MUST be enabled.

Copyright and License

The ostrolucky/newrelic-datastore-redis-cluster-extension library is copyright © Gabriel Ostrolucký and licensed for use under the terms of the MIT License (MIT). Please see LICENSE for more information.