perfsonar-dev - Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema
Subject: perfsonar development work
List archive
- From: Jason Zurawski <>
- To: Roman Lapacz <>
- Cc:
- Subject: Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema
- Date: Mon, 06 Aug 2007 08:36:46 -0400
- Organization: Internet2
Roman;
So I will take nmwg namespace now (for the release) but in future I can replace it with namespaces assigned to eventType. Is it OK from nmwg (semantic) point of view?Yes, I agree its the same namespace now but future modifications may require it to not be the same. There is no hard requirement to use the utilization/errors/discards/snmp namespaces and using nmwg is perfectly fine. For our services in particular we plan on tying the datum namespace directly to the eventType, as such the visualization and client applications should be aware of this and become nimble enough to handle the choice.The format of data is the same for utilization/errors/discards so we can reuse datum element (schema) of nmwg namespace. eventType value from chained metadata says what metric is fetched.I'd like to ask about datum element. For the utilization it looks like this (taken from example response):Much like parameters can be in the general (nmwg) namespace and a specific (utilization/errors/discards, etc.) datum behaves the same way. The added benefit here is that in instances where we *may* want to check results against a strict schema we are able to do so.
<nmwg:data id="d1" metadataIdRef="meta1">
<nmwg:datum timeType="unix" timeValue="1121558400"
value="0.19281761856741222" valueUnits="Bps"/>
<nmwg:datum timeType="unix" timeValue="1121644800"
value="0.1621709219533064" valueUnits="Bps"/>
<nmwg:datum timeType="unix" timeValue="1121731200"
value="0.34163606985698564" valueUnits="Bps"/>
<nmwg:datum timeType="unix" timeValue="1121817600"
value="0.3812493124312431" valueUnits="Bps"/>
</nmwg:data>
In http://anonsvn.internet2.edu/svn/nmwg/branches/snmp/example_instances/errors/SDResponse1.xml I see that 'error' namespace is used for datum. Do we really need this new namespace here. Why not use just 'nmwg'. Datum of 'nmwg' namespace is generic for values of both metrics (utilization and errors) stored in rrd files.
I propose to use only 'nmwg' namespace for datum element.
(the same with discards)
Yes, it is ok to do this from a semantic point of view, anything branded with the base nmwg namespace should be accepted by the services as it represents the most generic encoding. Using the specific encodings can be selectively used and enforced for the time being, but should be a future consideration.
-jason
- Conclusions and Open Issues for Errors/Drops Schema, David Schmitz, 08/03/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Roman Lapacz, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Roman Lapacz, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Jason Zurawski, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Roman Lapacz, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Jason Zurawski, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Roman Lapacz, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Jason Zurawski, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Jason Zurawski, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Roman Lapacz, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Jason Zurawski, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Roman Lapacz, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Jason Zurawski, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Roman Lapacz, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Jason Zurawski, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Roman Lapacz, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Roman Lapacz, 08/06/2007
- Re: [pS-dev] Conclusions and Open Issues for Errors/Drops Schema, Roman Lapacz, 08/06/2007
Archive powered by MHonArc 2.6.16.