Skip to content

Commit 11acd0a

Browse files
authored
Update README.md
1 parent b101729 commit 11acd0a

File tree

1 file changed

+28
-49
lines changed

1 file changed

+28
-49
lines changed

README.md

Lines changed: 28 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,57 @@
11
<a href="https://opensource.newrelic.com/oss-category/#new-relic-experimental"><picture><source media="(prefers-color-scheme: dark)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/dark/Experimental.png"><source media="(prefers-color-scheme: light)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Experimental.png"><img alt="New Relic Open Source experimental project banner." src="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Experimental.png"></picture></a>
22

33

4-
![GitHub forks](https://img.shields.io/github/forks/newrelic-experimental/java-instrumentation-template?style=social)
5-
![GitHub stars](https://img.shields.io/github/stars/newrelic-experimental/java-instrumentation-template?style=social)
6-
![GitHub watchers](https://img.shields.io/github/watchers/newrelic-experimental/java-instrumentation-template?style=social)
4+
![GitHub forks](https://img.shields.io/github/forks/newrelic-experimental/newrelic-java-spring-annotations?style=social)
5+
![GitHub stars](https://img.shields.io/github/stars/newrelic-experimental/newrelic-java-spring-annotations?style=social)
6+
![GitHub watchers](https://img.shields.io/github/watchers/newrelic-experimental/newrelic-java-spring-annotations?style=social)
77

8-
![GitHub all releases](https://img.shields.io/github/downloads/newrelic-experimental/java-instrumentation-template/total)
9-
![GitHub release (latest by date)](https://img.shields.io/github/v/release/newrelic-experimental/java-instrumentation-template)
10-
![GitHub last commit](https://img.shields.io/github/last-commit/newrelic-experimental/java-instrumentation-template)
11-
![GitHub Release Date](https://img.shields.io/github/release-date/newrelic-experimental/java-instrumentation-template)
8+
![GitHub all releases](https://img.shields.io/github/downloads/newrelic-experimental/newrelic-java-spring-annotations/total)
9+
![GitHub release (latest by date)](https://img.shields.io/github/v/release/newrelic-experimental/newrelic-java-spring-annotations)
10+
![GitHub last commit](https://img.shields.io/github/last-commit/newrelic-experimental/newrelic-java-spring-annotations)
11+
![GitHub Release Date](https://img.shields.io/github/release-date/newrelic-experimental/newrelic-java-spring-annotations)
1212

1313

14-
![GitHub issues](https://img.shields.io/github/issues/newrelic-experimental/java-instrumentation-template)
15-
![GitHub issues closed](https://img.shields.io/github/issues-closed/newrelic-experimental/java-instrumentation-template)
16-
![GitHub pull requests](https://img.shields.io/github/issues-pr/newrelic-experimental/java-instrumentation-template)
17-
![GitHub pull requests closed](https://img.shields.io/github/issues-pr-closed/newrelic-experimental/java-instrumentation-template)
14+
![GitHub issues](https://img.shields.io/github/issues/newrelic-experimental/newrelic-java-spring-annotations)
15+
![GitHub issues closed](https://img.shields.io/github/issues-closed/newrelic-experimental/newrelic-java-spring-annotations)
16+
![GitHub pull requests](https://img.shields.io/github/issues-pr/newrelic-experimental/newrelic-java-spring-annotations)
17+
![GitHub pull requests closed](https://img.shields.io/github/issues-pr-closed/newrelic-experimental/newrelic-java-spring-annotations)
1818

1919

20-
# [Project Name - use format "newrelic-java-<name>"] [build badges go here when available]
20+
# New Relic Java Instrumentation for Spring Annotations
2121

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?]
2322

24-
## Value
23+
## Provides instrumentation beyond the @Controller annotation that the product provides
2524

26-
|Metrics | Events | Logs | Traces | Visualization | Automation |
27-
|:-:|:-:|:-:|:-:|:-:|:-:|
28-
|:x:|:x:|:x:|:white_check_mark:|:x:|:x:|
29-
30-
### List of Metrics,Events,Logs,Traces
31-
|Name | Type | Description |
32-
|:-:|:-:|:-:|
33-
|*metric.name* | Metric| *description*|
34-
|*event.name* | Event| *description*|
35-
|*log.name* | Log| *description*|
36-
|*trace.name*| Trace| *description*
37-
|---|---|---|
25+
Will instrument all methods of classes with the @Component, @Service & @Repository annotations
3826

3927

4028
## Installation
4129

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.
4935

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.]
5136

5237
## Building
5338

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
5945

6046
## Support
6147

6248
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.
6349

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]
6750
>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.
6851
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-
7352
## Contributing
7453

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.
7655

7756
**A note about vulnerabilities**
7857

@@ -82,6 +61,6 @@ If you believe you have found a security vulnerability in this project or any of
8261

8362
## License
8463

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.
8665

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

Comments
 (0)