[java-identity-provider] branch master updated: Add additional services to metrics and status page.
Scott Cantor
cantor.2 at osu.edu
Thu Jan 17 09:52:20 EST 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=8f38ce812e5a11a278cf90a28c904def8f08d8cd
The following commit(s) were added to refs/heads/master by this push:
new 8f38ce8 Add additional services to metrics and status page.
8f38ce8 is described below
commit 8f38ce812e5a11a278cf90a28c904def8f08d8cd
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 17 09:52:17 2019 -0500
Add additional services to metrics and status page.
---
idp-conf/src/main/resources/conf/admin/metrics.xml | 4 ++++
.../src/main/resources/system/conf/general-admin-system.xml | 10 ++++++++++
.../src/main/resources/system/flows/admin/status-beans.xml | 2 ++
3 files changed, 16 insertions(+)
diff --git a/idp-conf/src/main/resources/conf/admin/metrics.xml b/idp-conf/src/main/resources/conf/admin/metrics.xml
index f9b5c16..fccf419 100644
--- a/idp-conf/src/main/resources/conf/admin/metrics.xml
+++ b/idp-conf/src/main/resources/conf/admin/metrics.xml
@@ -28,6 +28,8 @@
<ref bean="shibboleth.metrics.RelyingPartyGaugeSet" />
<ref bean="shibboleth.metrics.AttributeResolverGaugeSet" />
<ref bean="shibboleth.metrics.AttributeFilterGaugeSet" />
+ <ref bean="shibboleth.metrics.CASServiceRegistryGaugeSet" />
+ <ref bean="shibboleth.metrics.ManagedBeanGaugeSet" />
<!--
<bean class="com.codahale.metrics.jvm.CachedThreadStatesGaugeSet"
@@ -59,6 +61,8 @@
<entry key="relyingparty" value-ref="shibboleth.metrics.RelyingPartyGaugeSet" />
<entry key="resolver" value-ref="shibboleth.metrics.AttributeResolverGaugeSet" />
<entry key="filter" value-ref="shibboleth.metrics.AttributeFilterGaugeSet" />
+ <entry key="cas" value-ref="shibboleth.metrics.CASServiceRegistryGaugeSet" />
+ <entry key="bean" value-ref="shibboleth.metrics.ManagedBeanGaugeSet" />
</util:map>
<!-- If you don't specify an alternate access policy, this named policy will be enforced. -->
diff --git a/idp-conf/src/main/resources/system/conf/general-admin-system.xml b/idp-conf/src/main/resources/system/conf/general-admin-system.xml
index 2bc855c..efb8295 100644
--- a/idp-conf/src/main/resources/system/conf/general-admin-system.xml
+++ b/idp-conf/src/main/resources/system/conf/general-admin-system.xml
@@ -109,5 +109,15 @@
class="net.shibboleth.idp.metrics.ReloadableServiceGaugeSet" lazy-init="true"
c:metricName="attribute.filter"
p:service-ref="shibboleth.AttributeFilterService" />
+
+ <bean id="shibboleth.metrics.CASServiceRegistryGaugeSet"
+ class="net.shibboleth.idp.metrics.ReloadableServiceGaugeSet" lazy-init="true"
+ c:metricName="cas.registry"
+ p:service-ref="shibboleth.ReloadableCASServiceRegistry" />
+
+ <bean id="shibboleth.metrics.ManagedBeanGaugeSet"
+ class="net.shibboleth.idp.metrics.ReloadableServiceGaugeSet" lazy-init="true"
+ c:metricName="managedbean"
+ p:service-ref="shibboleth.ManagedBeanService" />
</beans>
diff --git a/idp-conf/src/main/resources/system/flows/admin/status-beans.xml b/idp-conf/src/main/resources/system/flows/admin/status-beans.xml
index 048d1d1..63c10ef 100644
--- a/idp-conf/src/main/resources/system/flows/admin/status-beans.xml
+++ b/idp-conf/src/main/resources/system/flows/admin/status-beans.xml
@@ -36,6 +36,8 @@
<ref bean="shibboleth.NameIdentifierGenerationService" />
<ref bean="shibboleth.AttributeResolverService" />
<ref bean="shibboleth.AttributeFilterService" />
+ <ref bean="shibboleth.ReloadableCASServiceRegistry" />
+ <ref bean="shibboleth.ManagedBeanService" />
</util:list>
</beans>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list