perfsonar-dev - Re: [pS-dev] [Fwd: units expected from RRD MA]
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To: Loukik Kudarimoti <>
- Cc: , Vedrin Jeliazkov <>
- Subject: Re: [pS-dev] [Fwd: units expected from RRD MA]
- Date: Thu, 10 Aug 2006 13:34:36 +0200
Loukik Kudarimoti wrote:
Roman Lapacz wrote:
This could be ok but it cannot be a substitution for the presence of units in datum which is returned. I mean, we could have it here but at the same time in datum as well. Describing the units of the numerics passed back, as Vedrin suggests, is essential in my opinion.
I would recommend putting the information about the unit in the key, for example:
This is the place where the information about units can be stored. The service will use it to put it in responses. This is my proposal how to include unit info.
Roman
Loukik.
<nmwg:store>
<nmwg:metadata id="meta1">
....
</nmwg:metadata>
<nmwg:data id="data1" metadataIdRef="meta1">
<nmwg:key>
<nmwg:parameters>
<nmwg:parameter name="file">/test.rrd</nmwg:parameter>
<nmwg:parameter name="dataSource">ps0</nmwg:parameter>
<nmwg:parameter name="unit">bps</nmwg:parameter>
</nmwg:parameters>
</nmwg:key>
</nmwg:data>
</nmwg:store>
Roman
Loukik Kudarimoti wrote:
[forgot to cc perfsonar-dev]
------------------------------------------------------------------------
Subject:
units expected from RRD MA
From:
Loukik Kudarimoti
<>
Date:
Thu, 10 Aug 2006 11:58:25 +0100
To:
Vedrin Jeliazkov
<>
To:
Vedrin Jeliazkov
<>
CC:
Andreas Hanemann <>, Roman Lapcz <>
Hi Vedrin and Andreas,
I have a query about the units that you assume you are getting from RRD MA. Basically, the response from RRD MA is as below:
<nmwg:data id="localhost.7e5caec1:10cf76b6c9d:-7fdf" metadataIdRef="meta1">
<nmwg:datum timeValue="1121558400" value="189.25857952114652" />
<nmwg:datum timeValue="1121644800" value="157.6300922870065" />
<nmwg:datum timeValue="1121731200" value="341.2686134412051" />
<nmwg:datum timeValue="1121817600" value="376.50555043698813" />
<nmwg:datum timeValue="1121904000" value="320.4919869209144" />
</nmwg:data>
It doesn't say whether the value is in bits per second, Mbits per second or bytes per second. What do you assume the unit to be in? do you think it would be better if the response explicitly mentioned the units and also the timeType?
Thanks,
Loukik.
--
// PSNC, Poland
// phone: (+48 61) 858 20 24
// http://www.man.poznan.pl
- [Fwd: units expected from RRD MA], Loukik Kudarimoti, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Roman Lapacz, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Loukik Kudarimoti, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Roman Lapacz, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Loukik Kudarimoti, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Roman Lapacz, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Loukik Kudarimoti, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Jeff W. Boote, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Loukik Kudarimoti, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Vedrin Jeliazkov, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Jeff W. Boote, 08/11/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Roman Lapacz, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Loukik Kudarimoti, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Roman Lapacz, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Loukik Kudarimoti, 08/10/2006
- Re: [pS-dev] [Fwd: units expected from RRD MA], Roman Lapacz, 08/10/2006
Archive powered by MHonArc 2.6.16.