Worklight Analytics操作控制台为空 [英] Worklight Analytics Operational Console empty

查看:117
本文介绍了Worklight Analytics操作控制台为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为App使用Worklight Analytics功能。我已经分离了用于分析和worklight控制台的服务器。

I'm trying to use Worklight Analytics features for App. I have separated servers for analytics and worklight console.

我尝试过以3种方式配置分析:

I have tried the configuring of analytics in 3 way:


  1. 在worklight.properties中:

  1. in worklight.properties:

wl.analytics.logs.forward=true
wl.analytics.url=http://[host]:[port]/analytics/data


  • 在initOptions.js中:

  • in initOptions.js:

    {
       analytics: {enable: true, url: 'http://[host]:[port]/analytics/data'}
    }
    


  • 在服务器的配置中:

  • in server's config:

    <jndi name="[context]/wl.analytics.url" value="http://[host]:[port]/analytics/data" />
    <jndi name="[context]/wl.analytics.logs.forward" value="true" />
    


  • 运营分析页面没有数据。

    Operational Analytics page has not data.

    推荐答案

    实际上问题与队列有关。如果你想立即获得结果,也可以考虑添加它,作为worklight服务器配置中的jndi属性(如果是Liberty):

    Actually problem is related to queues. If you want to have results right away also consider adding this, as jndi properties in worklight server config (in case of Liberty):

    <jndiEntry jndiName="wl.analytics.queues" value='"1"'/>
    <jndiEntry jndiName="wl.analytics.queue.size" value='"0"'/>
    

    这篇关于Worklight Analytics操作控制台为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆