In-progress Working document - supporting specification development for the next version of PM. This is not an official list of committed items but a live working document to help prioritize and elaborate on the specification efforts.
Contents
The purpose of this page is to collect the architectural direction as driven by scenario priorities for the next version of PM specifications (V1). It also contains any issues left unaddressed in previous version(s), if any.
Items for Consideration for 2.0
Themes
Others to consider:
- Specific examples are intended to be exemplary, not limiting. The assumption is, that unless something is specifically excluded in normative text (MUST NOT), it is “possible”. The intent is to allow a broad range of alternative implementations and implementation decisions.
- Re-use existing material when possible, rather than defining new, especially vocabularies widely used in the global RDF community, like Dublin Core.
- Enable whatever is defined-new here for wide re-use by other specifications, for potentially unforeseen scenarios.
- Avoid using reification, even though it is allowed by Core 2.0 Appendix C
- Use of DateTime (from XML Schema 1.0) vs DateTimeStamp (from XML Schema 1.1)
- Linkage between Perf Mon Record and the resource its metrics “describe”
Item Details
Re-use of Other Vocabularies
Potential re-use of software estimation and measurement work from the Software Project Management working group, which they call EMS.
- EMS-defined metric URIs: see especially
- ems:Metric = a name for something that can be measured. For example, duration is the EMS metric that measures the amount of time that a project takes.
- ems:UnitOfMeasure = the units associated with the specific measured value of a metric. For example, project duration is typically measured in units of months or years.
- NASA’s QUDT vocabulary defines a substantial set of metrics that EMS metrics have a defined relationship to QUDT, a few of which appear to be ripe for re-use in Performance Monitoring, like the following. Diving directly in QUDT is not trivial, so the EMS page introductory material may be useful.
- Dimensionless for counts, like database connections
- DimensionlessRatio for percentages like CPU utilization
- Frequency if we need to expose how often a particular metric is collected
- Time as an alternative to EMS for durations and timestamps. Would need to decide between them if both are viable for our scenarios.
- ems:TimeMetrics: see if Duration, Start/Finish times make sense to re-use
- Representing the value of a particular value, e.g. CPU utilization is 95%, or an average of 200.5 database connections are in use
- Metric Entities gives a bit of context for EMS’s approach to things.
- ems:Measure = a single measured value of a metric in specific unit: contains title, name of metric, name of units of measure, numeric value
- Issue to investigate: EMS metric values appear to be all double (timestamps are represented as Unix time). For averages etc. suspect PerfMon will need floats.
Potential re-use of W3C Recommendation-track linked data vocabularies, or (if more applicable) the inputs they reference.
- W3C Government Linked Data WG - the inputs/outputs for the “statistical cube” vocabulary may be relevant. Find drafts off the WG wiki, and some others (that may eventually migrate to the WG wiki page) on their vocabulary discussion wiki page.
Use of DateTime
- xsd10:DateTime allows omission of timezone. Default is to interpret it as the timezone of the server.
- Clients may be in different time zone from the server, making correct interpretation of timestamps impossible without out of band knowledge.
- Different clients, each in a distinct time zone, may interact with the same resource.
- Hence, all timestamps lacking an explicit time zone facet are ambiguous in the absolute sense.
- xsd11:DateTimeStamp is a new data type introduced to close this gap. It is the same as xsd10:DateTime except that it makes the time zone facet mandatory.
- Other specs like SPARQL have not yet been updated to include DTS, so the Core WG felt it was premature of us to incorporate it directly. They recommended that we continue using DateTime and have the spec require a time zone facet in prose instead.
Linkage
- By their nature Perf Mon Records are data “about” something else … IT component in our scenarios, but could be anything measurable.
- We want everything we define here to be equally re-usable in other domains.
- Defining types for all the “things” (types) that a PMR could describe is not a direct requirement of the scenarios.
- The Reconciliation WG already has a proposal for common types like Computer System, process, disk, etc.
- PM does need to define some way to link a PMR to what it describes in order to satisfy the scenarios, even if it does not really care what type is used as the object of the link, unless it imposes an implementation requirement for multi-typing (the PMR is also of-type “thing that PMR describes”). While current implementations can tolerate that, it seems over-reaching to impose multi-typing on all implementations.
- We have no obvious scenario where we need to access/find a PMR by starting with “the thing” and following a link to the PMR, so there is no obvious need to define a reverse predicate.
- Given SPARQL support or equivalent, the PMR->thing link could be followed in the reverse direction without defining a specific predicate for that.
- Core WG is still wrestling with general guidance on bidi linking because of the expectations it tends to create about coherency (when a link in one direction exists, many people expect that the inverse link MUST also exist or there is an error).
- Absent a specific scenario, we will defer defining a link in the opposite direction.
Specification backlog
- Averages are underspecified
- Not all averages are created equal:
- arithmetic, geometric, …
- duration, number of values
- measured, sampled
- How does a client find out which of these combinations, and possibly others, was used to construct any particular average?
- Current scenarios do not express this need, so the draft syntax does not address it