Giter Site home page Giter Site logo

newrelic-experimental / newrelic-java-transaction-listener-service Goto Github PK

View Code? Open in Web Editor NEW
0.0 12.0 0.0 442 KB

This lightweight Java Agent extension listens for Java Agent configChanged and transactionFinished events. It adds the labels from the Agent's configuration yml file to each completed Agent transaction subject to the Rules below. The labels are read on startup and on configChanged events.The added labels appear in every Transaction Trace as user attributes.

License: Apache License 2.0

Java 92.90% Shell 7.10%
nrlabs java transaction-listener-service nrlabs-odp tracing instrumentation nrlabs-data observability-data listener service

newrelic-java-transaction-listener-service's Introduction

New Relic Open Source experimental project banner.

New Relic Java Agent - Transaction Listener Service

This lightweight Java Agent extension listens for Java Agent configChanged and transactionFinished events.

It adds the labels from the Agent's configuration yml file to each completed Agent transaction subject to the Rules below. The labels are read on startup and on configChanged events.

The added labels appear in every Transaction Trace as user attributes.

Rules

  1. envvars always ovverride the configuration file
  2. envvars are always uppercase
  3. Always look for deployment_version label
  4. If transaction_listener_service_labels is present in the common section of newrelic.yml as a semi-colon delimited list of labels then use it to filter which labels to use
  5. If transaction_listener_service_labels is not present in the common section of newrelic.yml then report all labels

Installation

To install:

  1. Download the latest release jar files.
  2. In the New Relic Java directory (the one containing newrelic.jar), create a directory named extensions if it does not already exist.
  3. Copy the downloaded jars into the extensions directory.
  4. Restart the application.

Support

New Relic has open-sourced this project. This project is provided AS-IS WITHOUT WARRANTY OR SUPPORT, although you can report issues and contribute to the project here on GitHub.

Please do not report issues with this software to New Relic Global Technical Support.

Contributing

We encourage your contributions to improve [Transaction Listener Service]! 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 [email protected].

License

[Transaction Listener Service] is licensed under the Apache 2.0 License.

newrelic-java-transaction-listener-service's People

Contributors

actions-user avatar gsidhwani-nr avatar msummers-nr avatar sofeel avatar sschwartzman avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.