Package com.atlassian.bamboo.filter
Class NewRelicTransactionNamingFilter
java.lang.Object
com.atlassian.bamboo.filter.NewRelicTransactionNamingFilter
- All Implemented Interfaces:
javax.servlet.Filter
Filter to add meaningful names to NewRelic transactions
https://newrelic.com/docs/java/java-agent-component-based-web-transaction-naming
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
doFilter
(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) void
init
(javax.servlet.FilterConfig config) static void
setTransactionName
(javax.servlet.ServletRequest request, String name)
-
Field Details
-
NEWRELIC_TRANS_NAME_PARAM
- See Also:
-
-
Constructor Details
-
NewRelicTransactionNamingFilter
public NewRelicTransactionNamingFilter()
-
-
Method Details
-
doFilter
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain) throws javax.servlet.ServletException, IOException - Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
IOException
-
setTransactionName
-
init
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException - Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroy
in interfacejavax.servlet.Filter
-