ASAP 2.7 Extension Manual
Configuring the ASAP Extension
HP NonStop ASAP Extension Manual—425265-004
2-11
Configuring Metrics (EDL Attributes)
Assume the six example DataItems have these values in the two samples used by
ASAPX to create metrics for a 60-second sampling interval:
First sample:
Second sample:
These MetricRule formulas result in these values for the metrics:
TransCount – 60 is the difference between samples for the interval.
TransRate – Transactions/Seconds creates this rate of 60/60 = 1 transaction per
second.
ErrorRate – The error rate or 12/60 = .2.
Success – Transactions/(errors + transactions) times 100 = 60/72 = .8333 = 83.33%.
RespT – Seconds busy/(errors + transactions) = 45/72 = .625 seconds response time
average.
ServerBusy – Seconds busy/Seconds in Interval times 100 = 45/60 = .75 = 75.00%.
SendBusy – Send busy/Server busy times 100 = 15/45 = .3333 = 33.33%.
State – The value of DataItem 4 taken as a constant, or the value 3.
Alert – The value of DataItem 5 taken as a constant, or the value 1.
Define all metrics as EDL attributes using a priority order with the most important
attribute first, immediately following the ErrorState attribute in your EDL file. ASAP
processes metric states in ascending order. For example, if ERROR RATE is the most
important metric for the application, assign it as the first attribute.
ASAPX produces all metrics as 64-bit REAL numbers and subsequently attempts to
convert them for display purposes to the format specified with the Format EDL Attribute
property.
DATAITEM 012345
120 1245152 0
DATAITEM 012345
180 2490303 1
Metric
TransCount
Trans
Rate
ErrorRate Success RespT Server
Busy
SendBusy State Alert
60 1.0 0.2 83.33 .625 75.0 33.33 3 1