Check on arbitrary data support
https://docs.wso2.com/display/DAS310/Input+Mapping+Types

On Sat, Jul 8, 2017 at 7:48 AM, Lahiru Madushanka <lahirum...@wso2.com>
wrote:

> Hi all,
>
> I have a requirement where data values published to DAS are not predefined
> (dynamic)
> ( Ex :- cpu usage of a given laptop ) So I push them as a JSON string
> Ex:-  "cpuinfo":{"corePercentages": [4.1, 3.1, 5.2, 7.1], "numOfCores": 4}
> This JSON string will be changed with no of cores in the PC which pushes
> the data.
>
> Is there a way I can write a summarization query in siddhiql to take
> average of average corePercentages for a time interval. (first take avg of
> percentage values and then average it over time )
>
> Thanks
> Lahiru
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Technical Lead, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to