HistoryViewLinks to this page Revision from: 2012 October 3 | 02:27 pm
This is the revision from 2012 October 3 at 02:27 pmView the current live version of the article.

Mapping “Real World” Metrics to the Performance Monitoring Syntax - Samples - John/Julie comparisons

dcterms:title ems:numericValue rdf:type ems:metric pm:metricQualifier ems:unitOfMeasure
JB: Virtual Memory Utilization 50 ems:Measure pm:ResourceUsage pm:virtualmemory dbp:Percentage
JA: Virtual Memory Utilization 50 ems:Measure pm:ResourceUsage pm:Virtual
pm:Memory
dbp:Percentage
JA: Real Memory Utilization 50 ems:Measure pm:ResourceUsage pm:Real
pm:Memory
dbp:Percentage
JB: Average Login Request Failure 10 ems:Measure pm:Rate qudt:PerSecond
JA: Average Login Request Failure Rate 10 ems:Measure pm:LoginRequest pm:Failure
pm:Average
qudt:PerSecond
JB: Number of failed SQL Statements 10 ems:Measure pm:NumFailedSqlStmts qudt:Unitless
JA: Number of failed SQL Statements 10 ems:Measure pm:SQLStatements pm:Failure qudt:PerSecond

Mapping “Real World” Metrics to the Performance Monitoring Syntax - Samples

dcterms:title ems:numericValue rdf:type ems:metric pm:metricQualifier ems:unitOfMeasure
Percentage Disk Space Used 50 ems:Measure pm:ResourceUsage pm:Space
pm:KindOfSpacePlaceholder
dbp:Percentage
CPU Utilization 10 ems:Measure pm:ResourceUsage pm:CPU
pm:Utilization
dbp:Percentage
Response Time 4.500 ems:Measure pm:ResponseTime (?) pm:ResponseTime (?)
Heap Usage 52 ems:Measure pm:ResourceUsage pm:Heap dbp:Percentage
% Buffer Pool Used 45 ems:Measure pm:ResourceUsage pm:BufferPool dbp:Percentage
Garbage Collection Count 72787723 ems:Measure ? pm:GarbageCollection qudt:Unitless
Percentage Free Memory After GC 32 ems:Measure pm:ResourceAvailable pm:Virtual
pm:Memory
dbp:Percentage
PercentageTimeThreadPoolMaxed 2 ems:Measure pm:ResourceExhausted pm:ThreadPool
pm:Time
dbp:Percentage
PercentageTimeJCAThreadPoolMaxed 5 ems:Measure pm:ResourceExhausted pm:ThreadPool
pm:JCA
pm:Time
dbp:Percentage
PercentageTimeDBThreadPoolMaxed 21 ems:Measure pm:ResourceExhausted pm:ThreadPool
pm:Database
pm:Time
dbp:Percentage
VMCPUPercentReady 56 ems:Measure pm:ResourceAvailable pm:CPU
pm:Virtual
dbp:Percentage
TotalCPUAvailable ? ems:Measure pm:ResourceAvailable pm:CPU dbp:Percentage (?)
OverCommmittedDiskUtilization 150 ems:Measure pm:ResourceExhausted ? dbp:Percentage (?)
JMS_AvgGetTime 3.000 ems:Measure pm:Request pm:JMS
pm:Get
pm:ResponseTime (?)
Request Failure Rate Per Minute 25.3 ems:Measure pm:Request pm:Failure pm:PerMinute
RequestFailureCount 45911 ems:Measure pm:Request pm:Failure qudt:Unitless
AvgLoginRequestFailurPerMinute 2.4 ems:Measure pm:Request pm:Login
pm:Average
pm:PerMinute
RequestRatePerSecond 1339.2 ems:Measure pm:Request ? pm:Success? pm:Total? qudt:PerSecond
ems:Measure

ITM Example - using fenced code blocks, see advanced syntax

<?xml version="1.0"?> 
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:oslc="http://open-services.net/ns/core#"
         xmlns:crtv="http://open-services.net/ns/crtv#"
         xmlns:dcterms="http://purl.org/dc/terms/"
         xmlns:ems="http://open-services.net/ns/ems#"
         xmlns:pm="http://open-services.net/ns/perfmon#"
         xmlns:dbpedia="http://dbpedia.org"
         xmlns:foaf="http://xmlns.com/foaf/0.1/">

ITM Example - original from 2012-09-25

<?xml version="1.0"?> 
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:oslc="http://open-services.net/ns/core#"
     xmlns:crtv="http://open-services.net/ns/crtv#"
     xmlns:dcterms="http://purl.org/dc/terms/"
     xmlns:ems="http://open-services.net/ns/ems#"
     xmlns:pm="http://open-services.net/ns/perfmon#"
     xmlns:dbpedia="http://dbpedia.org"
     xmlns:foaf="http://xmlns.com/foaf/0.1/">
<rdf:Description rdf:about="http://itmprovider.org/rec001">
    <rdf:type rdf:resource="http://open-services.net/ns/crtv#ComputerSystem"/>
    <!-- Computer System naming properties -->
    <crtv:manufacturer>IBM</crtv:manufacturer>
    <crtv:model>2007CTO</crtv:model>
    <crtv:serialNumber>LG3G3K2</crtv:serialNumber>
    <crtv:fqdn>
        maxwell.raleigh.ibm.com
    </crtv:fqdn>

    <oslc:serviceProvider>
        itmprovider.org
    </oslc:serviceProvider>

    <dcterms:date>2012-06-13T19:48:09.5Z</dcterms:date>

    <!-- Tells client there are performance metrics associated with ComputerSystem -->
    <rdf:type rdf:resource="http://open-services.net/ns/perfmon#PerformanceMonitoringRecord"/>

    <!-- Processes -->
    <pm:process rdf:resource="http://itmprovider.org/rec001#iexplore.exe"/>

    <!-- Disks -->
    <pm:disk rdf:resource="http://itmprovider.org/rec001#disk1"/>
    <pm:disk rdf:resource="http://itmprovider.org/rec001#disk2"/>

    <!-- Agents -->
    <pm:monitoringAgent rdf:resource="http://itmprovider.org/rec001#knt"/>
</rdf:Description>

<rdf:Description rdf:about="http://itmprovider.org/rec001#disk1">
    <rdf:type rdf:resource="http://open-services.net/ns/crtv#StorageVolume"/>
    <dcterms:title>
        C:\
    </dcterms:title>
    <ems:observes rdf:resource="http://itmprovider.org/rec001#disk1_spaceused"/>
</rdf:Description>

<rdf:Description rdf:about="http://itmprovider.org/rec001#disk1_spaceused">
    <rdf:type rdf:resource="http://open-services.net/ns/ems#Measure"/>
    <dcterms:title>
        Percentage Space Used
    </dcterms:title>
    <ems:metric rdf:resource="http://open-services.net/ns/perfmon#PercentageSpaceUsed"/>
    <ems:numericValue rdf:datatype="http://www.w3.org/2001/XMLSchema#double">
        30
    </ems:numericValue>
    <ems:unitOfMeasure rdf:resource="http://dbpedia.org/Percentage"/>
</rdf:Description>

<rdf:Description rdf:about="http://itmprovider.org/rec001#disk2">
    <rdf:type rdf:resource="http://open-services.net/ns/crtv#StorageVolume"/>
    <dcterms:title>
        D:\
    </dcterms:title>
    <ems:observes rdf:resource="http://itmprovider.org/rec001#disk2_spaceused"/>
</rdf:Description>

<rdf:Description rdf:about="http://itmprovider.org/rec001#disk2_spaceused">
    <rdf:type rdf:resource="http://open-services.net/ns/ems#Measure"/>
    <dcterms:title>
        Percentage Space Used
    </dcterms:title>
    <ems:metric rdf:resource="http://open-services.net/ns/perfmon#PercentageSpaceUsed"/>
    <ems:numericValue rdf:datatype="http://www.w3.org/2001/XMLSchema#double">
        20
    </ems:numericValue>
    <ems:unitOfMeasure rdf:resource="dbpedia.org/Percentage"/>
</rdf:Description>

<rdf:Description rdf:about="http://itmprovider.org/rec001#iexplore">
    <rdf:type rdf:resource="http:open-services.net/ns/crtv#Process"/>
    <dcterms:title>
        iexplore.exe
    </dcterms:title>
    <ems:observes rdf:resource="http://itmprovider.org/rec001#iexplore-virtMem"/>
    <ems:observes rdf:resource="http://itmprovider.org/rec001#iexplore-realMem"/>
    <ems:observes rdf:resource="http://itmprovider.org/rec001#iexplore-cpuUtil"/>
</rdf:Description>

<rdf:Description rdf:about="http://itmprovider.org/rec001#iexplore-virtMem">
    <rdf:type rdf:resource="http://open-services.net/ns/ems#Measure"/>
    <dcterms:title>
        Virtual Memory Utilization
    </dcterms:title>
    <ems:metric rdf:resource="http://open-services.net/ns/perfmon#VirtualMemoryUtilization"/>
    <ems:numericValue rdf:datatype="http://www.w3.org/2001/XMLSchema#double">
        10
    </ems:numericValue>
    <ems:unitOfMeasure rdf:resource="http://dbpedia.org/Percentage"/>
</rdf:Description>

<rdf:Description rdf:about="http://itmprovider.org/rec001#iexplore-realMem">
    <rdf:type rdf:resource="http://open-services.net/ns/ems#Measure"/>
    <dcterms:title>
        Real Memory Utilization
    </dcterms:title>
    <ems:metric rdf:resource="http://open-services.net/ns/perfmon#RealMemoryUtilization"/>
    <ems:numericValue rdf:datatype="http://www.w3.org/2001/XMLSchema#double">
        5
    </ems:numericValue>
    <ems:unitOfMeasure rdf:resource="http://dbpedia.org/Percentage"/>
</rdf:Description>

<rdf:Description rdf:about="http://itmprovider.org/rec001#iexplore-cpuUtil">
    <rdf:type rdf:resource="http://open-services.net/ns/ems#Measure"/>
    <dcterms:title>
        CPU Utilization
    </dcterms:title>
    <ems:metric rdf:resource="http://open-services.net/ns/perfmon#CPUUtilization"/>
    <ems:numericValue rdf:datatype="http://www.w3.org/2001/XMLSchema#double">
        5
    </ems:numericValue>
    <ems:unitOfMeasure rdf:resource="http://dbpedia.org/Percentage"/>
</rdf:Description>

<rdf:Description rdf:about="http://itmprovider.org/rec001#knt">
    <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
    <dcterms:title>
        Windows OS Agent
    </dcterms:title>
    <pm:availabilityStatus rdf:resource="http://open-services.net/ns/perfmon#NotRunning"/>
</rdf:Description>
</rdf:RDF>