-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from musabbozkurt/new-relic-refactoring
custom-extensions.xml is added
- Loading branch information
Showing
6 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- This is an example of a custom instrumentation extension XML file. --> | ||
|
||
<extension xmlns="https://newrelic.com/docs/java/xsd/v1.0" | ||
name="custom-extensions"> | ||
<instrumentation> | ||
|
||
<!-- This point cut disables instrumentation of the method handle(HttpServletRequest request, @RequestBody(required = false) Map<String, String> body) for | ||
all implementations of the class org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler. --> | ||
<pointcut ignoreTransaction="true"> | ||
<className> | ||
org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler | ||
</className> | ||
<!-- Disable instrumentation of the method Object handle(HttpServletRequest request, @RequestBody(required = false) Map<String, String> body) --> | ||
<method> | ||
<name>handle</name> | ||
<parameters> | ||
<type>javax.servlet.http.HttpServletRequest</type> | ||
<type>java.util.Map</type> | ||
</parameters> | ||
</method> | ||
</pointcut> | ||
</instrumentation> | ||
</extension> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters