It's all about the answers!

Ask a question

How do I programmatically get data from Metronome


Morten Bundgaard Selmer (1123) | asked Nov 30 '12, 6:53 a.m.
 
I'm trying to figure out how to programmatically get the data collected by Metronome in RTC.
"Metronome - that helps and measure the response times between the Rational Team Concert Client and the Rational Team Concert Server."

One answer



permanent link
DJ Houghton (2663) | answered Nov 30 '12, 3:49 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Take a look at ITeamRepository#statistics.

Comments
Morten Bundgaard Selmer commented Dec 20 '12, 4:08 a.m. | edited Dec 20 '12, 4:11 a.m.
Thanks Houghton. It brought me a bit close....but.

I'm trying to get some statistics on the load time for the IterationPlanEditor.
I need to get the actual load time and the amount of workitems that a specific plan contains.
I'm working with ITeamRepository.statistics() but I can't find the specific number for a plan only the accumulated numbers. 
The scenario is:
1. I open a plan with 16 workitems.
   I use ITeamRepository.statistics() .getItemTypeCacheCount(iItemType)
  16 is returned. All ok.
2. I open another plan with 2 workitems and now I get 18, but would very much like only 2. 
Does the API even support this at all?
(com.ibm.team.repository.client_1.1.1.v20110524_1821.jar)


sam detweiler commented Dec 20 '12, 8:27 a.m.

no.. the plan apis or statistic apis do not know how many workitems are included.

Your answer


Register or to post your answer.