[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/conf/admin/metrics.xml
noreply at shibboleth.net
noreply at shibboleth.net
Wed Nov 9 10:47:47 EST 2016
Author: scantor
Date: Wed Nov 9 10:47:47 2016
New Revision: 8562
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8562&view=rev
Log:
Reorder the commented content in the metrics config.
Modified:
trunk/idp-conf/src/main/resources/conf/admin/metrics.xml
Modified: trunk/idp-conf/src/main/resources/conf/admin/metrics.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/conf/admin/metrics.xml?rev=8562&r1=8561&r2=8562&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/conf/admin/metrics.xml (original)
+++ trunk/idp-conf/src/main/resources/conf/admin/metrics.xml Wed Nov 9 10:47:47 2016
@@ -71,7 +71,30 @@
<util:map id="shibboleth.metrics.AccessPolicyMap">
</util:map>
+
+ <!--
+ In addition to the "pull" REST API for accessing metrics, a "push" reporter is also
+ available to upload a JSON feed to a URL. The example shown relies on standard JVM
+ trust configuration for TLS server verification.
+ The "start" method triggers the timer thread; the example pushes every 30 minutes.
+ -->
+ <!--
+ <bean id="PushReporter" parent="shibboleth.metrics.HTTPReporter" c:name="MyCollector"
+ p:collectorURL="https://log.example.org/cgi-bin/collector.cgi" />
+
+ <bean class="org.springframework.beans.factory.config.MethodInvokingBean"
+ p:targetObject-ref="PushReporter"
+ p:targetMethod="start">
+ <property name="arguments">
+ <list>
+ <value>30</value>
+ <util:constant static-field="java.util.concurrent.TimeUnit.MINUTES" />
+ </list>
+ </property>
+ </bean>
+ -->
+
<!-- IdP Metrics Configuration -->
<!--
@@ -103,27 +126,4 @@
</bean>
-->
- <!--
- In addition to the "pull" REST API for accessing metrics, a "push" reporter is also
- available to upload a JSON feed to a URL. The example shown relies on standard JVM
- trust configuration for TLS server verification.
-
- The "start" method triggers the timer thread; the example pushes every 30 minutes.
- -->
- <!--
- <bean id="PushReporter" parent="shibboleth.metrics.HTTPReporter" c:name="MyCollector"
- p:collectorURL="https://log.example.org/cgi-bin/collector.cgi" />
-
- <bean class="org.springframework.beans.factory.config.MethodInvokingBean"
- p:targetObject-ref="PushReporter"
- p:targetMethod="start">
- <property name="arguments">
- <list>
- <value>30</value>
- <util:constant static-field="java.util.concurrent.TimeUnit.MINUTES" />
- </list>
- </property>
- </bean>
- -->
-
</beans>
More information about the commits
mailing list