You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# [Project Name - use format "newrelic-java-<name>"][build badges go here when available]
20
+
# New Relic Java Instrumentation for Spring Annotations
21
21
22
-
>[Brief description - what is the project and value does it provide? How often should users expect to get releases? How is versioning set up? Where does this project want to go?]
23
22
24
-
## Value
23
+
## Provides instrumentation beyond the @Controller annotation that the product provides
Will instrument all methods of classes with the @Component, @Service & @Repository annotations
38
26
39
27
40
28
## Installation
41
29
42
-
> [Include a step-by-step procedure on how to get your code installed. Be sure to include any third-party dependencies that need to be installed separately]
43
-
44
-
## Getting Started
45
-
46
-
>[Simple steps to start working with the software similar to a "Hello World"]
47
-
48
-
## Usage
30
+
To use this instrumentation.
31
+
1. Download the latest release.
32
+
2. In the New Relic Java Agent directory (directory containing newrelic.jar), create a directory named extensions if it doe not already exist.
33
+
3. Copy the jars into the extensions directory.
34
+
4. Restart the application.
49
35
50
-
>[**Optional** - Include more thorough instructions on how to use the software. This section might not be needed if the Getting Started section is enough. Remove this section if it's not needed.]
51
36
52
37
## Building
53
38
54
-
>[**Optional** - Include this section if users will need to follow specific instructions to build the software from source. Be sure to include any third party build dependencies that need to be installed separately. Remove this section if it's not needed.]
55
-
56
-
## Testing
57
-
58
-
>[**Optional** - Include instructions on how to run tests if we include tests with the codebase. Remove this section if it's not needed.]
39
+
If you make changes to the instrumentation code and need to build the instrumentation jars, follow these steps
40
+
1. Set environment variable NEW_RELIC_EXTENSIONS_DIR. Its value should be the directory where you want to build the jars (i.e. the extensions directory of the Java Agent).
41
+
2. Build one or all of the jars.
42
+
a. To build one jar, run the command: gradlew _moduleName_:clean_moduleName_:install
43
+
b. To build all jars, run the command: gradlew clean install
44
+
3. Restart the application
59
45
60
46
## Support
61
47
62
48
New 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.
63
49
64
-
>[Choose 1 of the 2 options below for Support details, and remove the other one.]
65
-
66
-
>[Option 1 - no specific thread in Community]
67
50
>We 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.
68
51
69
-
>[Option 2 - thread in Community]
70
-
>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.
71
-
>You can find this project's topic/threads here: [URL for Community thread]
72
-
73
52
## Contributing
74
53
75
-
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.
54
+
We 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.
76
55
77
56
**A note about vulnerabilities**
78
57
@@ -82,6 +61,6 @@ If you believe you have found a security vulnerability in this project or any of
82
61
83
62
## License
84
63
85
-
[Project Name] is licensed under the [Apache 2.0](http://apache.org/licenses/LICENSE-2.0.txt) License.
64
+
New Relic Java Instrumentation for Spring Annotations is licensed under the [Apache 2.0](http://apache.org/licenses/LICENSE-2.0.txt) License.
86
65
87
-
>[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.]
66
+
>[If applicable: New Relic Java Instrumentation for Spring Annotations 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.]
0 commit comments