perfsonar-dev - Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To: Fausto Vetter <>
- Cc: "" <>, Guilherme Fernandes <>
- Subject: Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0
- Date: Tue, 03 Apr 2007 14:36:56 +0200
Fausto Vetter wrote:
Hi Roman,
I got things finished. Everything is working fine.
I would like to add these new classes to a next future release.
no problem, the more metrics the better
Roman
Fausto
Roman Lapacz wrote:
Fausto Vetter wrote:
Hi Roman,
Hi
Actually, the MA I want to work is not SQL, but RRDMA. is it the same procedure?
Yes. RRD MA just does not need responseGenerator and storeRequestProcess elements in eventType-map.xml config file.
Roman
Fausto
Roman Lapacz wrote:
Some time ago Guilherme introduced owamp eventType and did this the way I described.
Roman
Roman Lapacz wrote:
Fausto Vetter wrote:
Hi Roman,
I installed the new version of MA RRD to make create new event types to our CLMP service, once we are considering save the results in RRD files. How do I add a new event type to RRD MA? Is it possible with the version 2 of perfsonar? should I have the src code to do this or is it just a matter of mapping stuff in conf files?
If metadata elements in your metadata configuration file will use interface elements (as it is for the utilization metric) then you can add this:
<eventType>
<name>your-new-eventType</name>
<metadataQueryGenerator>org.perfsonar.service.measurementArchive.metadataConfig.queryGenerator.UtilizationQueryGenerator</metadataQueryGenerator>
<responseGenerator>org.perfsonar.service.measurementArchive.sqlType.fetch.UtilizationResponseGenerator</responseGenerator>
<storeRequestProcess>org.perfsonar.service.measurementArchive.sqlType.store.UtilizationStoreRequestProcess</storeRequestProcess>
</eventType>
to eventType-map.xml file. Then redeploy the service.
But if metadata elements will be different then you will have to implement new class responseGenerator and probably storeRequestProcess. The former generates relevant xquery statement used to search in the metadata configuration file, the latter is used to generate message response. Follow the classes for utilization metric as examples.
Roman
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Fausto Vetter, 04/02/2007
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Roman Lapacz, 04/02/2007
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Fausto Vetter, 04/02/2007
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Fausto Vetter, 04/03/2007
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Roman Lapacz, 04/03/2007
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Fausto Vetter, 04/03/2007
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Roman Lapacz, 04/04/2007
- Message not available
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Roman Lapacz, 04/04/2007
- Message not available
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Roman Lapacz, 04/04/2007
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Fausto Vetter, 04/03/2007
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Roman Lapacz, 04/03/2007
- Re: [pS-dev] Re: Adding new eventType to RRD MA 2.0, Roman Lapacz, 04/02/2007
Archive powered by MHonArc 2.6.16.