Changes between Version 2 and Version 3 of Old/Athstats/ScriptsRepository/ProtoDefAthstats


Ignore:
Timestamp:
Feb 10, 2006, 4:11:28 PM (18 years ago)
Author:
kishore
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/Athstats/ScriptsRepository/ProtoDefAthstats

    v2 v3  
    11[wiki:WikiStart Orbit] > [wiki:Athstats Athstats] > [wiki:Athstats/ScriptsRepository Scripts Repository] > driverqueryapp.rb
     2
     3This prototype file translates to running an application, defined by the test_app_athstats.rb or test/app/athstats.rb file. This application has two command-line arguments (--interface and --interval) defined by the bindProperty statement below. It reports three metrics, defined by the addMeasurement statement.
    24
    35{{{
     
    1719
    1820athstats = p.addApplication('athstats', "test:app:athstats")
     21
     22# Command-line arguments for the application.
    1923athstats.bindProperty('interface')
    2024athstats.bindProperty('interval')
    2125
     26# Metrics reported.
    2227athstats.addMeasurement('queryport',  Filter::SAMPLE,
    2328  {Filter::SAMPLE_SIZE => 1},