Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » How to write a Data Collection Agent
How to write a Data Collection Agent [message #34394] Fri, 07 October 2005 23:39 Go to next message
David Read is currently offline David ReadFriend
Messages: 35
Registered: July 2009
Member
Hi,
I've been reading the 'How to write a Data Collection Agent' but some of the references do not exist any more. Can you tell me where (CVS HEAD) org.eclipse.hyades.datacollection\collection\collectors\perf mon has moved to?
Thanks.
Re: How to write a Data Collection Agent [message #34462 is a reply to message #34394] Sun, 09 October 2005 06:05 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
org.eclipse.tptp.platform.agentcontroller\src-native\collect ion\collectors\perfmon
--
RDS

David Read wrote:
> Hi,
> I've been reading the 'How to write a Data Collection Agent' but some of
> the references do not exist any more. Can you tell me where (CVS HEAD)
> org.eclipse.hyades.datacollection\collection\collectors\perf mon has
> moved to?
> Thanks.
Re: How to write a Data Collection Agent [message #34495 is a reply to message #34462] Sun, 09 October 2005 19:26 Go to previous messageGo to next message
David Read is currently offline David ReadFriend
Messages: 35
Registered: July 2009
Member
Thanks Randy.


Randy D. Smith wrote:
> org.eclipse.tptp.platform.agentcontroller\src-native\collect ion\collectors\perfmon
>
> --
> RDS
>
> David Read wrote:
>
>> Hi,
>> I've been reading the 'How to write a Data Collection Agent' but some
>> of the references do not exist any more. Can you tell me where (CVS
>> HEAD) org.eclipse.hyades.datacollection\collection\collectors\perf mon
>> has moved to?
>> Thanks.
Re: How to write a Data Collection Agent [message #34629 is a reply to message #34495] Mon, 10 October 2005 05:37 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
You're welcome.

Now that you've got the source and the tutorial reference, you *might*
want to compare the link I gave you with that same agent ported to use
the *new* Agent Controller at
org.eclipse.tptp.platform.agentcontroller\src-native-new\sam ples\PerfmonAgent
(newly added to the CVS tree for 4.1i2 as a sample "proof of concept"
for the new agent controller).

It's the same PerfmonAgent in terms of data collection, but the "driver"
and the communications portions have been "modernized". The question you
might want to ask yourself is whether you want to write a data
collection agent with the existing RAC, using an example that is
(admittedly well-written, but) process oriented, or whether you want to
target the future direction of TPTP with a more object-oriented approach
to agent creation, control, and communication. Part of your choice might
be affected by timing (is the timeframe for your agent now? or 4.1? or
maybe 4.2??), and part might be the aforementioned approach that
underlies your development methodology or style.

Let me know if you have any more questions. I'm focused on the new AC
side of things, but have an interest in seeing more use of TPTP, whether
RAC or AC based.
--
RDS

David Read wrote:
> Thanks Randy.
>
>
> Randy D. Smith wrote:
>
>> org.eclipse.tptp.platform.agentcontroller\src-native\collect ion\collectors\perfmon
>>
>> --
>> RDS
>>
>> David Read wrote:
>>
>>> Hi,
>>> I've been reading the 'How to write a Data Collection Agent' but some
>>> of the references do not exist any more. Can you tell me where (CVS
>>> HEAD) org.eclipse.hyades.datacollection\collection\collectors\perf mon
>>> has moved to?
>>> Thanks.
Re: How to write a Data Collection Agent [message #34663 is a reply to message #34629] Mon, 10 October 2005 19:37 Go to previous messageGo to next message
David Read is currently offline David ReadFriend
Messages: 35
Registered: July 2009
Member
Thanks Randy,
I'm still in the 'overwhelmed by information' stage of looking at TPTP, and didn't specifically want the Perfmon agent - just an idea of how to write agents in general - I picked on the first reference that was broken.
I have had a look at the new Agent Controller (fired up the SampleClient and looked at the code) and it find it more understandable than the RAC.
Just a bit of background - My goal is a test system for distributed embedded systems, initially targeted at a communications system, which can send messages to a target, and check messages returned, potentially from any of the other targets. The targets will initially be TCP/IP but later I also need serial, and some proprietary formats. The intention is to bring all this back to the test host in Common Base Event format.
Hopefully my timescales will allow me to go for 4.1 and the new AC (its slated for November 05 right?)

David.


Randy D. Smith wrote:
> You're welcome.
>
> Now that you've got the source and the tutorial reference, you *might*
> want to compare the link I gave you with that same agent ported to use
> the *new* Agent Controller at
> org.eclipse.tptp.platform.agentcontroller\src-native-new\sam ples\PerfmonAgent
> (newly added to the CVS tree for 4.1i2 as a sample "proof of concept"
> for the new agent controller).
>
> It's the same PerfmonAgent in terms of data collection, but the "driver"
> and the communications portions have been "modernized". The question you
> might want to ask yourself is whether you want to write a data
> collection agent with the existing RAC, using an example that is
> (admittedly well-written, but) process oriented, or whether you want to
> target the future direction of TPTP with a more object-oriented approach
> to agent creation, control, and communication. Part of your choice might
> be affected by timing (is the timeframe for your agent now? or 4.1? or
> maybe 4.2??), and part might be the aforementioned approach that
> underlies your development methodology or style.
>
> Let me know if you have any more questions. I'm focused on the new AC
> side of things, but have an interest in seeing more use of TPTP, whether
> RAC or AC based.
> --
> RDS
>
> David Read wrote:
>
>> Thanks Randy.
>>
>>
>> Randy D. Smith wrote:
>>
>>> org.eclipse.tptp.platform.agentcontroller\src-native\collect ion\collectors\perfmon
>>>
>>> --
>>> RDS
>>>
>>> David Read wrote:
>>>
>>>> Hi,
>>>> I've been reading the 'How to write a Data Collection Agent' but
>>>> some of the references do not exist any more. Can you tell me where
>>>> (CVS HEAD)
>>>> org.eclipse.hyades.datacollection\collection\collectors\perf mon has
>>>> moved to?
>>>> Thanks.
Re: How to write a Data Collection Agent [message #34935 is a reply to message #34663] Tue, 11 October 2005 16:02 Go to previous messageGo to next message
Andy Kaylor is currently offline Andy KaylorFriend
Messages: 23
Registered: July 2009
Junior Member
Hi David,

There's an article in the October Dr. Dobb's Journal (you can read it online
at http://www.ddj.com/documents/s=9893/ddj0510f/0510f.html) which may help
as a general orientation with the new Agent Controller if that would be of
any use.

The "official" timeframe for the new Agent Controller is dependent on when
we have all of the TPTP components integrated with it and the corresponding
new client and agent API, but it will the new pieces will be officially
supported before it entirely replaces the old RAC so if you don't need the
extra framework, you can basically start developing with it now.

We're planning to declare the API public in the 4.1 release in November.
It's integrated with the Eclipse workbench through the new Java client API
(which is documented at
http://www.eclipse.org/tptp/platform/documents/techpreview/4 .0.0/javadoc/index.html
but a small number of these interfaces are being changed this week). This
is labelled as a "tech preview" but in November (once we have it all firm)
we will be declaring it public.

In addition, you should be able to use the existing data loaders, data model
and viewers from the TPTP testing framework if your agent emits data in one
of the expected formats.

-Andy
Re: How to write a Data Collection Agent [message #34969 is a reply to message #34663] Tue, 11 October 2005 16:43 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
David Read wrote:
> Thanks Randy,
> I'm still in the 'overwhelmed by information' stage of looking at TPTP,

Sounds like my first several weeks (or even months? :-) ) with TPTP as well.

> Hopefully my timescales will allow me to go for 4.1 and the new AC (its
> slated for November 05 right?)

Right... 11/14/2005, according to the TPTP Project Schedule (<
http://www.eclipse.org/tptp/index.html > => Development Plans => Project
Schedule)
--
RDS
Re: How to write a Data Collection Agent [message #35034 is a reply to message #34935] Wed, 12 October 2005 19:16 Go to previous message
David Read is currently offline David ReadFriend
Messages: 35
Registered: July 2009
Member
Thanks Andy,
The Dr. Dobb's article is a really nice clear introduction, and (for others reading this) I've found the Provisional API(C++) contains good examples. See the link at http://www.eclipse.org/tptp/platform/documents/

David

Andy Kaylor wrote:
> Hi David,
>
> There's an article in the October Dr. Dobb's Journal (you can read it online
> at http://www.ddj.com/documents/s=9893/ddj0510f/0510f.html) which may help
> as a general orientation with the new Agent Controller if that would be of
> any use.
>
> The "official" timeframe for the new Agent Controller is dependent on when
> we have all of the TPTP components integrated with it and the corresponding
> new client and agent API, but it will the new pieces will be officially
> supported before it entirely replaces the old RAC so if you don't need the
> extra framework, you can basically start developing with it now.
>
> We're planning to declare the API public in the 4.1 release in November.
> It's integrated with the Eclipse workbench through the new Java client API
> (which is documented at
> http://www.eclipse.org/tptp/platform/documents/techpreview/4 .0.0/javadoc/index.html
> but a small number of these interfaces are being changed this week). This
> is labelled as a "tech preview" but in November (once we have it all firm)
> we will be declaring it public.
>
> In addition, you should be able to use the existing data loaders, data model
> and viewers from the TPTP testing framework if your agent emits data in one
> of the expected formats.
>
> -Andy
>
>
Previous Topic:using TPTP Profiling tools
Next Topic:Profiler unable to establish connection with RAC
Goto Forum:
  


Current Time: Thu Apr 18 10:05:32 GMT 2024

Powered by FUDForum. Page generated in 0.02176 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top