You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by le...@apache.org on 2002/08/05 13:55:24 UTC
cvs commit: jakarta-avalon-excalibur/instrument/example/managerICM/conf instrument.xml
leif 2002/08/05 04:55:24
Modified: instrument/example/managerICM/conf instrument.xml
Log:
Fix the example definition of a child instrumentable.
Remove old references to Profiler.
Revision Changes Path
1.3 +16 -14 jakarta-avalon-excalibur/instrument/example/managerICM/conf/instrument.xml
Index: instrument.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/instrument/example/managerICM/conf/instrument.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- instrument.xml 4 Aug 2002 10:33:32 -0000 1.2
+++ instrument.xml 5 Aug 2002 11:55:24 -0000 1.3
@@ -6,24 +6,26 @@
<connector class="altrmi" port="15555"/>
</connectors>
- <state-file interval="60000" use-compact-samples="true">
- ../data/instrument.sampledata
- </state-file>
+ <state-file interval="60000">../data/instrument.sampledata</state-file>
+ <!-- The instrumentables section allows you to preconfigure instruments and samples. -->
<instrumentables>
- <!-- The profiler Profilable is the ProfilerManager itself. -->
+ <!-- Instrument configuration for the Component Manager. -->
<instrumentable name="component-manager">
- <instrument name="example-instrumentable.puts">
- <sample type="ctr" interval="1000" size="600"/>
- </instrument>
- <instrument name="example-instrumentable.gets">
- <sample type="ctr" interval="1000" size="600"/>
- </instrument>
- <instrument name="example-instrumentable.references">
- <sample type="max" interval="1000" size="600"/>
- </instrument>
+ <instrumentable name="example-instrumentable">
+ <instrument name="puts">
+ <sample type="ctr" interval="1000" size="600"/>
+ </instrument>
+ <instrument name="gets">
+ <sample type="ctr" interval="1000" size="600"/>
+ </instrument>
+ <instrument name="references">
+ <sample type="max" interval="1000" size="600"/>
+ </instrument>
+ </instrumentable>
</instrumentable>
+ <!-- Instrument configuration for the Instrument Manager. -->
<instrumentable name="instrument-manager" description="Instrument Manager">
<instrument name="active-thread-count" description="Active Thread Count">
<sample type="max" interval="1000" size="600" description="Maximum each second."/>
@@ -42,7 +44,7 @@
</instrument>
</instrumentable>
- <!-- ExampleProfilable. -->
+ <!-- Instrument configuration for the Example Instrumentable. -->
<instrumentable name="example-instrumentable" description="Example Instrumentable">
<!-- Note that any number of samples are possible for each profile point. -->
<instrument name="random-quick" description="Random Values at a quick rate.">
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>