diff options
author | Andrew Dolgov <[email protected]> | 2023-04-09 21:20:35 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-04-09 21:20:35 +0300 |
commit | c1b3c99667c743d63317748d6338647eaf213184 (patch) | |
tree | 3e84f114096df8cd1b158a459f5fe5581f64cd96 /classes/config.php | |
parent | 8f3646a9c93a06f76f6abb31020fdb74b4b1fc59 (diff) |
some tracer class fixes / unhardcode jaeger IP
Diffstat (limited to 'classes/config.php')
-rw-r--r-- | classes/config.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/config.php b/classes/config.php index dee6caa38..a9c75ae7b 100644 --- a/classes/config.php +++ b/classes/config.php @@ -192,6 +192,9 @@ class Config { /** delay updates for this feed if received HTTP 429 (Too Many Requests) for this amount of seconds (base value, actual delay is base...base*2) */ const HTTP_429_THROTTLE_INTERVAL = "HTTP_429_THROTTLE_INTERVAL"; + /** host running Jaeger collector to receive traces (disabled if empty) */ + const JAEGER_REPORTING_HOST = "JAEGER_REPORTING_HOST"; + /** default values for all global configuration options */ private const _DEFAULTS = [ Config::DB_TYPE => [ "pgsql", Config::T_STRING ], @@ -249,6 +252,7 @@ class Config { Config::HTTP_USER_AGENT => [ 'Tiny Tiny RSS/%s (https://tt-rss.org/)', Config::T_STRING ], Config::HTTP_429_THROTTLE_INTERVAL => [ 3600, Config::T_INT ], + Config::JAEGER_REPORTING_HOST => [ "", Config::T_STRING ], ]; /** @var Config|null */ |