Company
Date Published
Author
Hannah Ramadan, Tanna McClure
Word count
965
Language
English
Hacker News points
None

Summary

### Elasticsearch Monitoring with New Relic Ruby Agent The New Relic Ruby agent provides automatic instrumentation of versions 7.x and 8.x of the Elasticsearch gem, allowing for better monitoring of performance issues and errors related to requests to your Elasticsearch clusters. The agent uses metaprogramming techniques to insert instrumentation code into commonly used public methods of libraries, including the Elasticsearch gem. This allows for greater flexibility in configuring instrumentation options, such as capturing or obfuscating queries. The Ruby agent supports versions 7.x and 8.x for the Elasticsearch gem and provides additional features like capture_queries and obfuscate_queries configuration options to protect sensitive information. Upgrading to version 8.12.0 of the New Relic Ruby agent is required to monitor requests from your Elasticsearch client.