sys application custom-stat
sys application custom-stat(1) BIG-IP TMSH Manual sys application custom-stat(1)
NAME
custom-stat - Provides derived statistics for iStats.
MODULE
sys application
SYNTAX
Configure the custom-stat component within the sys application module using the syntax in the following
sections.
EDIT
create custom-stat [key]
modify custom-stat [key]
options:
app-service [[string] | none]
keyspace [string]
formula [string]
measure [string]
edit custom-stat [ [ [key] | [glob] | [regex] ] ... ]
options:
all-properties
DISPLAY
list custom-stat
list custom-stat [ [ [key] | [glob] | [regex] ] ... ]
DELETE
delete custom-stat [key]
DESCRIPTION
Statistics are derived for objects in the given keyspace based on the given formula, producing the given
measure.
EXAMPLES
create sys application custom-stat myKey
keyspace sys.application.service
measure conns_per_min
formula "rate counter conns 60"
Creates a derived iStat.
OPTIONS
You can use these options with the custom-stat component:
app-service
Specifies the name of the application service to which the object belongs. The default value is none.
Note: If the strict-updates option is enabled on the application service that owns the object, you cannot
modify or delete the object. Only the application service can modify or delete the object.
formula
Specifies the first token in the formula indicates the computation to be made. Currently only rates are
supported.
rate
rate computes the rate of change of the source measure over the last seconds.
This is applicable only to numeric measures. The derived measure is of type gauge.
keyspace
Specifies that a derived iStat will be computed for all objects in the given keyspace for which the
formula is computable (the source measure of the correct type exists).
measure
Specifies the name of the derived measure to be created. The type of the derived measure is dependent on
the formula.
SEE ALSO
create, modify, sys application service
COPYRIGHT
No part of this program may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose
other than the purchaser's personal use, without the express written permission of F5 Networks, Inc.
F5 Networks and BIG-IP (c) Copyright 2010-2012. All rights reserved.
BIG-IP 2012-10-19 sys application custom-stat(1)