The language defines Telemetry Charts using some redefined language components, such as Reducers, which generate stream point value from DPD analysis, and axis. In the Chart definition, after define the name and parameters, the kernel part will look like this:
chart Issue(member, status) = {Then we need to define the Stream called IssueStream, and after parameter description, the kernel part look like this:
"Issue invocations",
(IssueStream(member, status), yAxisZeroBased("Issue Count"))
};
streams IssueStream(member, status) = {
"Issue counts for the given mode for this Project",
Issue(member, status)
};
The definition of Streams seems redundant to me because it add no additional information to the reducer. So why not using the reducer directly in the Chart definition? I think it will be cooler that the telemetry language can directly use normal reducer like DevTime to generate the member level chart, so that no need to write in Java the member level reducer again.
Now I am coding the test cases for the Issue Telemetry analysis, need to make up Issue data again.
No comments:
Post a Comment