[Oslc-pm] Performance Monitoring Record Example

Julianne Bielski bielsk at us.ibm.com
Thu Jun 28 09:03:22 EDT 2012


Here are the resources we discussed in today's call. Comments welcome.

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:dcterms="
http://purl.org/dc/terms" xmlns:oslc="http://open-services.net/ns/core#" 
xmlns:crtv="http://open-services.net/ns/crtv#" xmlns:pm="
http://open-services.net/ns/pm">
        <crtv:ComputerSystem rdf:about="
http://ibm.com/ci/153a969889c34925a7948cf8e3facf23">
                <!-- Start of Resource-specific properties -->
                <oslc:domain rdf:resource="
http://open-services.net/ns/configManagement/1.0/"/>
                <crtv:recordType rdf:resource="
http://open-services.net/ns/im#/actualConfiguration"/>
                <oslc:serviceProvider rdf:resource="
http://registry/providers/90dd07d9ba9a4940a476db9c1737773b"/>
                <crtv:systemBoardUUID>a1b27283-013c-8f36-4dbc-74bd38ca7e3f
</crtv:systemBoardUUID>
                <crtv:manufacturer>IBM</crtv:manufacturer>
                <crtv:model>2007CTO</crtv:model>
                <crtv:serialNumber>LG3G3K2</crtv:serialNumber>
                <crtv:observationTime>2011-10-27T10:43:01Z</
crtv:observationTime>
                <!-- End of Resource-specific properties -->
                <pm:PerformanceMonitoringRecord  rdf:resource="
http://ibm.com/itm/perfmetric/345"/>
                <!-- instead of the Metric value having a relationship to 
the resource, we go from the resource to the Metric value -->
        </crtv:ComputerSystem>
 
 
        <pm:PerformanceMonitoringRecord rdf:about="
http://ibm.com/itm/perfmetric/345">
                <crtv:observationTime>2012-06-20T20:17:45+01:00</
crtv:observationTime>
                <!-- Denotes the point-in-time when the stated metric was 
observed -->
 
                               <!-- The actual metric value itself-->
                               <ems:observes rdf:parseType="Resource">
                                    <rdf:type rdf:resource="
http://open-services.net/ns/ems#Measure" />
                                    <dcterms:title>Avg DB Connections in 
use</dcterms:title>
                                    <ems:metric 
rdf:resource="pm:NewConnections" />
                                   <ems:unitOfMeasure 
rdf:resource="pm:NewCount" />
                                 <ems:numericValue rdf:datatype="
http://www.w3.org/2001/XMLSchema#integer">68</ems:numeric

                <pm:describedBy rdf:resource="
http:ibm.com/itm/metricdefinitions/defn001"/>
                <!-- Link to the metadata that further describes the 
Metric value -->
        </pm:PerformanceMonitoringRecord>
 
 
        <pm:MetricDefinition rdf:about="
http://ibm.com/itm/metricdefinitions/defn001">
                <crtv:name>CPU Utilization</crtv:name>
                <!-- Name of the Metric. Based on scenarios, it may be 
necessary to standardize on metric definition names -->
                <dcterms:description>Describes how much CPU is in use 
verses how much is available for use</dcterms:description>
                <pm:statisticName rdf:resource="
http://open-services.net/ns/perfmon/statistics#Average"/>
                <!-- Non-required attribute describing the kind of 
statistic is valid for this resource. In this case, Average. Other 
potentials: Total, Mean, Median, etc. -->
                <pm:unitOfMeasure rdf:resource="
http://open-services.net/ns/perfmon/uom#Percent"/>
                <!-- The unit of measure for the metric value. Considered 
placing this on the Metric resource itself, but feels as though this is a 
property that tends to be more static/descriptive in nature. Other 
potentials: bit, kilobit, megabit, gigabit, terabit, byte, kilobyte, 
megabyte, gigabyte, terabyte, hertz, megahertz, gigahertz, terahertz -->
                <pm:timeUnit rdf:resource="
http://open-services.net/ns/perfon/timeunit#minute"/>
                <pm:timeUnitQuantity rdf:datatype="
http://www.w3.org/2001/XMLSchema#integer">1</pm:timeUnitQuantity>
                <!-- Non-required value (assumed to be 1 if not provided) 
representing the sampling time unit quantity. An Example - If there's a 
metric that says "Average of 30 percent per 1 minute", the 
timeUnitQuantity would be the "1". We don't say such a satement since the 
"1" is implied, but this property becomes necessary if the metric says " 
Average of 30 percent per 5 minutes" -->
        </pm:MetricDefinition>
</rdf:RDF>



Regards,
Jacob

Jacob Yackenovich
Data Integration,  Data Model Architecture 
Tivoli Software |  IBM  |  Research Triangle Park, NC
jyackeno at us.ibm.com  |  (919) 224-1373
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-pm_open-services.net/attachments/20120628/7d2f0b65/attachment.html>


More information about the Oslc-Pm mailing list