diff options
author | Chocobozzz <me@florianbigard.com> | 2022-11-15 13:56:04 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-11-15 13:56:04 +0100 |
commit | 31a9ed960ff1013940d677cb56f83ecd90a93e26 (patch) | |
tree | 33eb418727a762793a62839fb8d039b96e5b9c9b /server/initializers/config.ts | |
parent | 077600e03774203c57ba7e8b122bd18faa3e51e6 (diff) | |
download | PeerTube-31a9ed960ff1013940d677cb56f83ecd90a93e26.tar.gz PeerTube-31a9ed960ff1013940d677cb56f83ecd90a93e26.tar.zst PeerTube-31a9ed960ff1013940d677cb56f83ecd90a93e26.zip |
Add configuration for prometheus exporter hostname
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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 | }, |