diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/checker-before-init.ts | 5 | ||||
-rw-r--r-- | server/initializers/config.ts | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/server/initializers/checker-before-init.ts b/server/initializers/checker-before-init.ts index 42be7ee6e..39713a266 100644 --- a/server/initializers/checker-before-init.ts +++ b/server/initializers/checker-before-init.ts | |||
@@ -18,7 +18,10 @@ function checkMissedConfig () { | |||
18 | 'email.body.signature', 'email.subject.prefix', | 18 | 'email.body.signature', 'email.subject.prefix', |
19 | 'storage.avatars', 'storage.videos', 'storage.logs', 'storage.previews', 'storage.thumbnails', 'storage.torrents', 'storage.cache', | 19 | 'storage.avatars', 'storage.videos', 'storage.logs', 'storage.previews', 'storage.thumbnails', 'storage.torrents', 'storage.cache', |
20 | 'storage.redundancy', 'storage.tmp', 'storage.streaming_playlists', 'storage.plugins', 'storage.well_known', | 20 | 'storage.redundancy', 'storage.tmp', 'storage.streaming_playlists', 'storage.plugins', 'storage.well_known', |
21 | 'log.level', | 21 | 'log.level', 'log.rotation.enabled', 'log.rotation.max_file_size', 'log.rotation.max_files', 'log.anonymize_ip', |
22 | 'log.log_ping_requests', 'log.log_tracker_unknown_infohash', 'log.prettify_sql', 'log.accept_client_log', | ||
23 | 'open_telemetry.metrics.enabled', 'open_telemetry.metrics.prometheus_exporter.hostname', | ||
24 | 'open_telemetry.metrics.prometheus_exporter.port', 'open_telemetry.tracing.enabled', 'open_telemetry.tracing.jaeger_exporter.endpoint', | ||
22 | 'user.video_quota', 'user.video_quota_daily', | 25 | 'user.video_quota', 'user.video_quota_daily', |
23 | 'video_channels.max_per_user', | 26 | 'video_channels.max_per_user', |
24 | 'csp.enabled', 'csp.report_only', 'csp.report_uri', | 27 | 'csp.enabled', 'csp.report_only', 'csp.report_uri', |
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 3dd1f6971..c2f8b19fd 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -190,6 +190,7 @@ const CONFIG = { | |||
190 | ENABLED: config.get<boolean>('open_telemetry.metrics.enabled'), | 190 | ENABLED: config.get<boolean>('open_telemetry.metrics.enabled'), |
191 | 191 | ||
192 | PROMETHEUS_EXPORTER: { | 192 | PROMETHEUS_EXPORTER: { |
193 | HOSTNAME: config.get<string>('open_telemetry.metrics.prometheus_exporter.hostname'), | ||
193 | PORT: config.get<number>('open_telemetry.metrics.prometheus_exporter.port') | 194 | PORT: config.get<number>('open_telemetry.metrics.prometheus_exporter.port') |
194 | } | 195 | } |
195 | }, | 196 | }, |