From 7dc83961bd617bca6a99ab6f1f840c8b75bf4fe1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 10 Apr 2023 07:18:36 +0300 Subject: make jaeger service name configurable --- classes/config.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'classes/config.php') diff --git a/classes/config.php b/classes/config.php index a9c75ae7b..07fecccf4 100644 --- a/classes/config.php +++ b/classes/config.php @@ -195,6 +195,9 @@ class Config { /** host running Jaeger collector to receive traces (disabled if empty) */ const JAEGER_REPORTING_HOST = "JAEGER_REPORTING_HOST"; + /** Jaeger service name */ + const JAEGER_SERVICE_NAME = "tt-rss"; + /** default values for all global configuration options */ private const _DEFAULTS = [ Config::DB_TYPE => [ "pgsql", Config::T_STRING ], @@ -253,6 +256,7 @@ class Config { Config::T_STRING ], Config::HTTP_429_THROTTLE_INTERVAL => [ 3600, Config::T_INT ], Config::JAEGER_REPORTING_HOST => [ "", Config::T_STRING ], + Config::JAEGER_SERVICE_NAME => [ "tt-rss", Config::T_STRING ], ]; /** @var Config|null */ -- cgit v1.2.3-54-g00ecf