@platformatic/watt-extra 0.1.5 → 0.1.6-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/watt.js +2 -1
- package/package.json +1 -1
package/lib/watt.js
CHANGED
|
@@ -149,6 +149,7 @@ class Watt {
|
|
|
149
149
|
|
|
150
150
|
this.#logger.info('Building runtime')
|
|
151
151
|
|
|
152
|
+
process._rawDebug('--------PATCHED CONFIG--------', this.#config)
|
|
152
153
|
const runtime = new Runtime(this.#config, { isProduction: true })
|
|
153
154
|
|
|
154
155
|
/* c8 ignore next 3 */
|
|
@@ -194,7 +195,7 @@ class Watt {
|
|
|
194
195
|
defaultMetrics: {
|
|
195
196
|
enabled: true,
|
|
196
197
|
},
|
|
197
|
-
hostname: this.#env.PLT_APP_HOSTNAME || '
|
|
198
|
+
hostname: this.#env.PLT_APP_HOSTNAME || '0.0.0.0',
|
|
198
199
|
port: this.#env.PLT_METRICS_PORT || 9090,
|
|
199
200
|
labels: {
|
|
200
201
|
serviceId: 'main',
|