Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

get Proxy Service statistics via WLST

918817Jun 18 2013 — edited Jun 19 2013

Hello! When i try to get statistics of using Proxu Service, then i only have a list with proxies. How i can get statistics?

This code:

alsbCore = findService(ALSBConfigurationMBean.NAME, ALSBConfigurationMBean.TYPE)

allRefs = alsbCore.getRefs(Ref.DOMAIN)

for ref in allRefs:

    typeId = ref.getTypeId()

    if typeId == "ProxyService":

        cd('domainRuntime:/DomainServices/ServiceDomain')

        print cmo.getProxyServiceStatistics([ref],ResourceType.SERVICE.value(),'')

       

is return:

{ProxyService SimpleREST/Products=com.bea.wli.monitoring.ServiceResourceStatistic@81f1b5}

{ProxyService project_02/ru_tii_crm_ws_ps=com.bea.wli.monitoring.ServiceResourceStatistic@82609f}

{ProxyService osb_tii/crm_ws_ps_https_ccert=com.bea.wli.monitoring.ServiceResourceStatistic@82c605}

{ProxyService project_04/ru_tii_crm_ws_ps=com.bea.wli.monitoring.ServiceResourceStatistic@834864}

{ProxyService project_01/ru_tii_lkk_yl_ws_ps=com.bea.wli.monitoring.ServiceResourceStatistic@8868f1}


It looks as id, or hashcode.


What function can take this hash as parameter and return statistics?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 17 2013
Added on Jun 18 2013
1 comment
957 views