diff options
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 754585981..0943ffe2d 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -167,6 +167,22 @@ const CONFIG = { | |||
167 | LOG_TRACKER_UNKNOWN_INFOHASH: config.get<boolean>('log.log_tracker_unknown_infohash'), | 167 | LOG_TRACKER_UNKNOWN_INFOHASH: config.get<boolean>('log.log_tracker_unknown_infohash'), |
168 | PRETTIFY_SQL: config.get<boolean>('log.prettify_sql') | 168 | PRETTIFY_SQL: config.get<boolean>('log.prettify_sql') |
169 | }, | 169 | }, |
170 | OPEN_TELEMETRY: { | ||
171 | METRICS: { | ||
172 | ENABLED: config.get<boolean>('open_telemetry.metrics.enabled'), | ||
173 | |||
174 | PROMETHEUS_EXPORTER: { | ||
175 | PORT: config.get<number>('open_telemetry.metrics.prometheus_exporter.port') | ||
176 | } | ||
177 | }, | ||
178 | TRACING: { | ||
179 | ENABLED: config.get<boolean>('open_telemetry.tracing.enabled'), | ||
180 | |||
181 | JAEGER_EXPORTER: { | ||
182 | ENDPOINT: config.get<string>('open_telemetry.tracing.jaeger_exporter.endpoint') | ||
183 | } | ||
184 | } | ||
185 | }, | ||
170 | TRENDING: { | 186 | TRENDING: { |
171 | VIDEOS: { | 187 | VIDEOS: { |
172 | INTERVAL_DAYS: config.get<number>('trending.videos.interval_days'), | 188 | INTERVAL_DAYS: config.get<number>('trending.videos.interval_days'), |