[perfomance] section¶
Metrics service configuration
default_hist¶
- Default value:
[0.001, 0.005, 0.01, 0.05, 0.5, 1.0, 5.0, 10.0] - YAML Path:
perfomance.default_hist - Key-value Path:
perfomance/default_hist - Environment:
NOC_PERFOMANCE_DEFAULT_HIST
enable_mongo_hist¶
- YAML Path:
perfomance.enable_mongo_hist - Key-value Path:
perfomance/enable_mongo_hist - Environment:
NOC_PERFOMANCE_ENABLE_MONGO_HIST
mongo_hist¶
- Default value:
[0.001, 0.005, 0.01, 0.05, 0.5, 1.0, 5.0, 10.0] - YAML Path:
perfomance.mongo_hist - Key-value Path:
perfomance/mongo_hist - Environment:
NOC_PERFOMANCE_MONGO_HIST
enable_postgres_hist¶
- YAML Path:
perfomance.enable_postgres_hist - Key-value Path:
perfomance/enable_postgres_hist - Environment:
NOC_PERFOMANCE_ENABLE_POSTGRES_HIST
postgres_hist¶
- Default value:
[0.001, 0.005, 0.01, 0.05, 0.5, 1.0, 5.0, 10.0] - YAML Path:
perfomance.postgres_hist - Key-value Path:
perfomance/postgres_hist - Environment:
NOC_PERFOMANCE_POSTGRES_HIST
default_quantiles¶
- Default value:
[0.5, 0.9, 0.95] - YAML Path:
perfomance.default_quantiles - Key-value Path:
perfomance/default_quantiles - Environment:
NOC_PERFOMANCE_DEFAULT_QUANTILES
default_quantiles_epsilon¶
Acceptable ranking error for approximate quantiles calculation.
Consider we have 1000 measurements and calculating 2-nd quartile (50% or 0.5).
Exact quantile calculation must return 1000 * 0.5 = 500 item
of ordered list of measurement but we need to keep all 1000 measurements
in memory.
Approximate quantiles calculation guaranted to return an item between
1000 * (0,5 - Epsilon) and 1000 * (0.5 + Epsilon). So for default value of 0.01 value between490and510` position will be returned,
greatly relaxing memory requirements.
Lesser values means greater precision and greater memory and cpu requirements, while greater values means lesser precision but lesser memory and cpu penalty.
Note
This parameter is read-only and cannot be modified
default_quantiles_window¶
Quantiles window size in seconds. NOC maintains 2 quantile windows -
temporary and active one, purging active and swapping windows
every default_quantiles_window seconds.
Note
This parameter is read-only and cannot be modified
default_quantiles_buffer¶
Note
This parameter is read-only and cannot be modified
enable_mongo_quantiles¶
Enable quantiles collection for mongo transactions
- YAML Path:
perfomance.enable_mongo_quantiles - Key-value Path:
perfomance/enable_mongo_quantiles - Environment:
NOC_PERFOMANCE_ENABLE_MONGO_QUANTILES
enable_postgres_quantiles¶
Enable quantiles collection for postgresql transactions
- YAML Path:
perfomance.enable_postgres_quantiles - Key-value Path:
perfomance/enable_postgres_quantiles - Environment:
NOC_PERFOMANCE_ENABLE_POSTGRES_QUANTILES