{"id":20194806,"url":"https://github.com/newrelic-experimental/newrelic-java-thrift","last_synced_at":"2025-08-02T05:07:31.619Z","repository":{"id":169862930,"uuid":"623584213","full_name":"newrelic-experimental/newrelic-java-thrift","owner":"newrelic-experimental","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-26T21:22:08.000Z","size":934,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-06T19:55:11.011Z","etag":null,"topics":["instrumentation","java","nrlabs","nrlabs-data","nrlabs-java-verify","nrlabs-odp","observability-data","thrift","thrift-client","thrift-server"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newrelic-experimental.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-04T17:01:43.000Z","updated_at":"2024-06-26T21:22:12.000Z","dependencies_parsed_at":"2024-06-26T22:58:16.567Z","dependency_job_id":"d29529db-3cb1-4da4-a50e-b6b195363528","html_url":"https://github.com/newrelic-experimental/newrelic-java-thrift","commit_stats":null,"previous_names":["newrelic-experimental/newrelic-java-thrift"],"tags_count":2,"template":false,"template_full_name":"newrelic-experimental/java-instrumentation-template","purl":"pkg:github/newrelic-experimental/newrelic-java-thrift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelic-experimental%2Fnewrelic-java-thrift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelic-experimental%2Fnewrelic-java-thrift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelic-experimental%2Fnewrelic-java-thrift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelic-experimental%2Fnewrelic-java-thrift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newrelic-experimental","download_url":"https://codeload.github.com/newrelic-experimental/newrelic-java-thrift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelic-experimental%2Fnewrelic-java-thrift/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268337977,"owners_count":24234538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["instrumentation","java","nrlabs","nrlabs-data","nrlabs-java-verify","nrlabs-odp","observability-data","thrift","thrift-client","thrift-server"],"created_at":"2024-11-14T04:14:21.022Z","updated_at":"2025-08-02T05:07:31.587Z","avatar_url":"https://github.com/newrelic-experimental.png","language":"Java","readme":"\u003ca href=\"https://opensource.newrelic.com/oss-category/#new-relic-experimental\"\u003e\u003cpicture\u003e\u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/newrelic/opensource-website/raw/main/src/images/categories/dark/Experimental.png\"\u003e\u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Experimental.png\"\u003e\u003cimg alt=\"New Relic Open Source experimental project banner.\" src=\"https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Experimental.png\"\u003e\u003c/picture\u003e\u003c/a\u003e\n\n\n![GitHub forks](https://img.shields.io/github/forks/newrelic-experimental/newrelic-java-thrift?style=social)\n![GitHub stars](https://img.shields.io/github/stars/newrelic-experimental/newrelic-java-thrift?style=social)\n![GitHub watchers](https://img.shields.io/github/watchers/newrelic-experimental/newrelic-java-thrift?style=social)\n\n![GitHub all releases](https://img.shields.io/github/downloads/newrelic-experimental/newrelic-java-thrift/total)\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/newrelic-experimental/newrelic-java-thrift)\n![GitHub last commit](https://img.shields.io/github/last-commit/newrelic-experimental/newrelic-java-thrift)\n![GitHub Release Date](https://img.shields.io/github/release-date/newrelic-experimental/newrelic-java-thrift)\n\n\n![GitHub issues](https://img.shields.io/github/issues/newrelic-experimental/newrelic-java-thrift)\n![GitHub issues closed](https://img.shields.io/github/issues-closed/newrelic-experimental/newrelic-java-thrift)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/newrelic-experimental/newrelic-java-thrift)\n![GitHub pull requests closed](https://img.shields.io/github/issues-pr-closed/newrelic-experimental/newrelic-java-thrift)\n\n\n# New Relic Java Instrumentation for Apache Thrift\n\nProvides instrumentation of both the client and server sides of Apache Thrift.  This includes support for distributed tracing between the client and the server.    \nThis instrumentation support Apache Thrift versions 0.10.0 and above.    \n\n## Installation\n\nSince there is existing instrumentation for Thrift in the New Relic Java Agent it is recommended that you disable that instrumentation to avoid conflicts between it and this instrumentation.  Instructions for disabling are below.\n\nTo use this instrumentation.   \n1. Download the latest release.    \n2. In the New Relic Java Agent directory (directory containing newrelic.jar), create a directory named extensions if it doe not already exist.   \n3. Copy the jars into the extensions directory.   \n4. Restart the application.   \n\n## Disabling New Relic Java Agent instrumentation\n\nTo avoid conflicts disable the Java Agent instrumentation as follows:\n\n1. Edit newrelic.yml and find the following:    \n   \n\u0026nbsp;\u0026nbsp;class_transformer:   \n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;# This instrumentation reports the name of the user principal returned from    \n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;# HttpServletRequest.getUserPrincipal() when servlets and filters are invoked.   \n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;com.newrelic.instrumentation.servlet-user:   \n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;enabled: false.  \n   \n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;com.newrelic.instrumentation.spring-aop-2:   \n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;enabled: false.  \n   \n 2. Add the following lines, be sure to have 4 spaces at the beginning of the first line and 6 spaces at the beginning of the second line.\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;com.newrelic.instrumentation.thrift-0.8:   \n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;enabled: false.   \n 3. Save newrelic.yml.  \n    \n## Getting Started\n\nAfter deployment, you should be able to client calls showing up as external services on the Thrift Client application and Thrift transactions on the Thrift server.  Additionally in the dirstributed tracing view in the New Relic UI, you should see the two transaction tied together.  Note that on the client side the external calls will only show up if there is an active transaction.    \n\n## Support\n\nNew Relic has open-sourced this project. This project is provided AS-IS WITHOUT WARRANTY OR DEDICATED SUPPORT. Issues and contributions should be reported to the project here on GitHub.\n\n\u003eWe encourage you to bring your experiences and questions to the [Explorers Hub](https://discuss.newrelic.com) where our community members collaborate on solutions and new ideas.\n\n## Contributing\n\nWe encourage your contributions to improve Salesforce Commerce Cloud for New Relic Browser! 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.\n\n**A note about vulnerabilities**\n\nAs noted in our [security policy](../../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.\n\nIf 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](https://hackerone.com/newrelic).\n\n## License\n\nNew Relic Java Instrumentation for Apache Thrift is licensed under the [Apache 2.0](http://apache.org/licenses/LICENSE-2.0.txt) License.\n\n\u003e[If applicable: [Project Name] also uses source code from third-party libraries. You can find full details on which libraries are used and the terms under which they are licensed in the third-party notices document.]\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewrelic-experimental%2Fnewrelic-java-thrift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewrelic-experimental%2Fnewrelic-java-thrift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewrelic-experimental%2Fnewrelic-java-thrift/lists"}