Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jetty-distribution/src/main/resources/etc/jamon.xml')
-rw-r--r--jetty-distribution/src/main/resources/etc/jamon.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/jetty-distribution/src/main/resources/etc/jamon.xml b/jetty-distribution/src/main/resources/etc/jamon.xml
index ec1d3f509b..2ec2d89db4 100644
--- a/jetty-distribution/src/main/resources/etc/jamon.xml
+++ b/jetty-distribution/src/main/resources/etc/jamon.xml
@@ -7,13 +7,13 @@
<Configure id="Server" class="org.eclipse.jetty.server.Server">
- <Get id="oldhandler" name="handler" />
- <Set name="handler">
- <New id="JamonHandler" class="com.jamonapi.http.JAMonJettyHandlerNew">
- <Set name="handler"><Ref refid="oldhandler" /></Set>
- <Set name="summaryLabels"><Property name="jamon.summaryLabels" /></Set>
- </New>
- </Set>
+ <Call name="insertHandler">
+ <Arg>
+ <New id="JamonHandler" class="com.jamonapi.http.JAMonJettyHandlerNew">
+ <Set name="summaryLabels"><Property name="jamon.summaryLabels" /></Set>
+ </New>
+ </Arg>
+ </Call>
<Ref refid="Contexts">
<Call name="addHandler">

Back to the top