Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/newrelic-experimental/newrelic-java-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.
https://github.com/newrelic-experimental/newrelic-java-transaction-listener-service
instrumentation java listener nrlabs nrlabs-data nrlabs-odp observability-data service tracing transaction transaction-listener-service
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/newrelic-experimental/newrelic-java-transaction-listener-service
- Owner: newrelic-experimental
- License: apache-2.0
- Created: 2020-08-31T19:29:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T11:36:26.000Z (about 1 year ago)
- Last Synced: 2024-04-16T19:00:34.083Z (9 months ago)
- Topics: instrumentation, java, listener, nrlabs, nrlabs-data, nrlabs-odp, observability-data, service, tracing, transaction, transaction-listener-service
- Language: Java
- Homepage:
- Size: 432 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](#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](http://apache.org/licenses/LICENSE-2.0.txt) License.