Open xflihaibo opened 1 year ago
module.exports = (appInfo) => { const config = (exports = {})
config.cluster = { listen: { port: 3000, hostname: '0.0.0.0', }, } config.logger = {//todo} config.prometheus = { timeout: 3000, scrapePort: 3000, aggregatorPort: 6789, enableDefaultMetrics: true, scrapePath: '/prometheus', defaultHttpMetricsFilter: () => true, // defaultLabels: { ... }, }
return { ...config, //...todo } }
没有生效
module.exports = (appInfo) => { const config = (exports = {})
config.cluster = { listen: { port: 3000, hostname: '0.0.0.0', }, } config.logger = {//todo} config.prometheus = { timeout: 3000, scrapePort: 3000, aggregatorPort: 6789, enableDefaultMetrics: true, scrapePath: '/prometheus', defaultHttpMetricsFilter: () => true, // defaultLabels: { ... }, }
return { ...config, //...todo } }
没有生效