Changes between Version 3 and Version 4 of adeiAG

Show
Ignore:
Author:
csa (IP: 141.52.232.84)
Timestamp:
08/26/09 10:50:04 (15 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adeiAG

    v3 v4  
    3636 * ''channel_uids'' - If channels have unique identifactors within ADEI setup 
    3737 * ''timezone'' - In which timezone the timestamps are returned by the data source 
    38  * ''time_module'' - Defines a name of [wiki::adeiClassREADERTime time interface class] 
    39  * ''trace_timings'' - Instructs CACHE to compute and report it's timings 
     38 * ''trace_timings'' - Instructs CACHE to compute and report it's timings, the following values are accepted: 
    4039  * ''true'' - Just report timings in the caching code 
    4140  * associative array with the following members 
    42    * ''limit_processing_time'' - Maximal number of milliseconds to process query 
     41   * ''overall_only'' - Only process overall timings, otherwise the timings will be computed and verified on each access to the data source 
     42   * ''limit_interval'' - Defines minimal time range (in seconds), for which the timings should be measured 
     43   * ''limit_processing_time'' - Maximal number of seconds to process query (the fractional number may be used) 
    4344   * ''limit_percentage'' - Sets the maximum ratio of processing time to the time range. I.e. if this value set to 30, the 10 seconds interval must be processed in a less than 3 seconds. 
    4445   * ''raise_exception'' - If the limits are failed, the error exception should be raised, otherwise, the information is just logged 
    4849 * ''maximal_allowed_gap'' - The expected rate in seconds, if the distance between records greater than specified value, some records were not recorded due to some problems. 
    4950 * ''ignore_invalid_data'' - Instructs ADEI to silently ignore the invalid data 
    50  * ''channel_uids'' - Use channel names as uids. 
     51 * ''cache_config'' - Defines the configuration of caching levels 
     52 * ''min_resolution'' - The minimal CACHE resolution to use (for example if we have records recorded once a minute, it sense-less to use  caching levels bellow 600) 
     53 * ''channel_uids'' - Use channel names as uids. The following values are accepted: 
    5154  * ''true'' - use all channel names as uids 
    5255  * ''"regular_expression"'' - use channel names as uids only for channels which names are matching regular expression 
    6063 
    6164=== DBReader-specific options === 
    62  * ''groups'' 
    63  * ''columns'' 
    64  * 
     65 * ''tables'' - Specifies the list of tables which are the logging groups and rules to convert the table name into the group id's and titles. See following example for details: 
     66{{{ 
     67array( 
     68   "regular_expression" => array( 
     69     'gid' => "group id", 
     70     'title' => "group title" 
     71   ), 
     72  "/^module_(.*)$/ => array( 
     73    'gid' => '${1}', 
     74    'title' => 'Module ${1}' 
     75  ) 
     76
     77}}} 
     78 * ''groups'' - Associates group id's with table names. See following examples for details: 
     79{{{ 
     80array( 
     81   "regular_expression_on_gid" => "table_name", 
     82   "/.*/" => "mda.module_${1}" 
     83
     84}}} 
     85 * ''columns'' - The associative array which specifies timestamp and data columns in the logging tables 
     86{{{ 
     87array( 
     88   "time" => "timestamp_column_name", 
     89   "data" => "regular_expression_selecting_proper_data_columns" 
     90
     91}}} 
     92 * ''time_module'' - Defines a [wiki::adeiClassREADERTime time module] which is used to convert database timestamps into the UNIX timestamps used by ADEI. 
     93 * ''time_options'' - The options to be passed to the time module 
     94 * ''timesort'' - Specifies a sorting mode for the timestamps in the database. If not specified it is expected what the database has records sorted by timestamp. The following values are accepted 
     95  * ''0'' - the database timestamps are sorted and additional sort should not be performed 
     96  * ''1'' - the database timestamps should be sorted in ascending way 
     97  * ''-1'' - the database timestamps should be sorted in descending way 
     98  * ''"query"'' - the SORT part of the SQL query which should be used to sort the records in database 
    6599 
    66100=== ZEUS-specific options ===