Skip to content

newrelic-experimental/newrelic-java-redisson

New Relic Open Source experimental project banner.

GitHub forks GitHub stars GitHub watchers

GitHub all releases GitHub release (latest by date) GitHub last commit GitHub Release Date

GitHub issues GitHub issues closed GitHub pull requests GitHub pull requests closed

New Relic Java Instrumentation for Redisson Redis Driver

Provides instrumentation code for monitoring the Redisson Redis Driver. Calls to Redis using Redisson will be created under Databases.

Installation

Clone this repository to your local disk or follow instructions for installing the latest release.

Getting Started

Project can be imported into Eclipse or IntelliJ

Eclipse: All modules ./gradlew eclipse

Individual Module ./gradlew moduleName:eclipse e.g. ./gradlew redisson-3.5:eclipse

IntelliJ same command except use idea rather than eclipse

Usage

The calls will show up under Databases as Redisson Redisson_Type method.

image

The name of the Redisson object is not captured as part of the query name in Databases as it can lead to metric name explosion. The name is captured in a distributed trace span as an attribute. It will be captured as Redisson_Object_Name.

image

Building

Set the environment variable NEW_RELIC_EXTENSIONS_DIR to the directory where you would like to build the extension jar(s)

To build all modules ./gradlew clean install

To build a modules ./gradlew moduleName:clean moduleName:install

Testing

Run gradle moduleName:test

Verifying

To verify that the module will load into the Java Agent used the verifyInstrumentation option see https://github.com/newrelic/newrelic-gradle-verify-instrumentation for more information.
gradle moduleName:verifyInstrumentation

Support

New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices. Like all official New Relic open source projects, there's a related Community topic in the New Relic Explorers Hub. You can find this project's topic/threads here:

Contributing

We encourage your contributions to improve [project name]! Keep in mind when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project. If you have any questions, or to execute our corporate CLA, required if your contribution is on behalf of a company, please drop us an email at opensource@newrelic.com.

A note about vulnerabilities

As noted in our security policy, New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals.

If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through HackerOne.

License

[New Relic Java Instrumentation for Redisson Redis Driver] is licensed under the Apache 2.0 License.