apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganelin, Ilya" <Ilya.Gane...@capitalone.com>
Subject Re: Visualize custom metrics in the dashboard
Date Thu, 03 Sep 2015 02:18:10 GMT
Chetan, thanks! I fixed that error, and validated the JSON shown below,
any further ideas?
 
{"type":"data", "topic":"c1.citadel.latencies",
"data":[{"Elapsed":"3987"}, {"Max (30s)":"3987ms"}, {"Avg
(30s)":"257.00ms"}, {"Msgs/sec":"48"}]}

On 9/2/15, 12:28 PM, "Chetan Narsude" <chetan@datatorrent.com> wrote:

>On Wed, Sep 2, 2015 at 10:47 AM, Ganelin, Ilya
><Ilya.Ganelin@capitalone.com>
>wrote:
>
>> Hi all ­ I¹m attempting to surface some output directly to the existing
>> Apex dashboard. Based on the Twitter example here:
>>
>> 
>>https://github.com/DataTorrent/Malhar/blob/release-2.0.0/demos/twitter/sr
>>c/main/java/com/datatorrent/demos/twitter/TwitterTrendingHashtagsApplicat
>>ion.java
>> [snip]
>>
>>
>> An example of the JSON object I¹m outputting is below:
>> {"type":"data", "topic":"test1", "data":["Elapsed":"1234", "Max
>> (30s)":"5678ms", "Avg (30s)":*"2000.00"ms*, "Msgs/sec":"5000"]}
>>
>>
>The highlighted portion (*"2000.00"ms*) above looks pretty wrong to me :-)
>
>--
>Chetan
>
>
>
>>
>> Any thoughts on what¹s going on here or how I can debug this? The job
>>does
>> not ever appear to even launch. Thanks!
>> ________________________________________________________
>>
>> The information contained in this e-mail is confidential and/or
>> proprietary to Capital One and/or its affiliates and may only be used
>> solely in performance of work or services for Capital One. The
>>information
>> transmitted herewith is intended only for use by the individual or
>>entity
>> to which it is addressed. If the reader of this message is not the
>>intended
>> recipient, you are hereby notified that any review, retransmission,
>> dissemination, distribution, copying or other use of, or taking of any
>> action in reliance upon this information is strictly prohibited. If you
>> have received this communication in error, please contact the sender and
>> delete the material from your computer.
>>

________________________________________________________

The information contained in this e-mail is confidential and/or proprietary to Capital One
and/or its affiliates and may only be used solely in performance of work or services for Capital
One. The information transmitted herewith is intended only for use by the individual or entity
to which it is addressed. If the reader of this message is not the intended recipient, you
are hereby notified that any review, retransmission, dissemination, distribution, copying
or other use of, or taking of any action in reliance upon this information is strictly prohibited.
If you have received this communication in error, please contact the sender and delete the
material from your computer.


Mime
View raw message