summaryrefslogtreecommitdiff
path: root/classes/Config.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-10-01 17:22:37 +0300
committerAndrew Dolgov <fox@fakecake.org>2024-10-01 17:22:37 +0300
commit7e0f5f295c0480023098edca5e3f5a806bd93bab (patch)
tree89c510638669466453c7451f5eb493f50e850de0 /classes/Config.php
parente1bac5d855b3b5db8a201fb1595747c5a68f5ab8 (diff)
drop OPENTELEMETRY_ global config entries
Diffstat (limited to 'classes/Config.php')
-rw-r--r--classes/Config.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/classes/Config.php b/classes/Config.php
index e9d44063c..ab7f4baef 100644
--- a/classes/Config.php
+++ b/classes/Config.php
@@ -192,12 +192,6 @@ 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 OPENTELEMETRY_ENDPOINT = "OPENTELEMETRY_ENDPOINT";
-
- /** Jaeger service name */
- const OPENTELEMETRY_SERVICE = "OPENTELEMETRY_SERVICE";
-
/** default values for all global configuration options */
private const _DEFAULTS = [
Config::DB_TYPE => [ "pgsql", Config::T_STRING ],
@@ -255,9 +249,7 @@ class Config {
Config::AUTH_MIN_INTERVAL => [ 5, Config::T_INT ],
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::OPENTELEMETRY_ENDPOINT => [ "", Config::T_STRING ],
- Config::OPENTELEMETRY_SERVICE => [ "tt-rss", Config::T_STRING ],
+ Config::HTTP_429_THROTTLE_INTERVAL => [ 3600, Config::T_INT ]
];
/** @var Config|null */