Authored by 姜枫

fix influxdb ip

@@ -8,7 +8,7 @@ const influx = require('influx'); @@ -8,7 +8,7 @@ const influx = require('influx');
8 8
9 let client = influx({ 9 let client = influx({
10 hosts: [{ 10 hosts: [{
11 - host: '54.222.219.223', 11 + host: '172.31.56.150',
12 port: 8086, 12 port: 8086,
13 protocol: 'http' 13 protocol: 'http'
14 }], 14 }],
@@ -27,6 +27,10 @@ const monitor = { @@ -27,6 +27,10 @@ const monitor = {
27 name: '线上环境', 27 name: '线上环境',
28 value: 'production', 28 value: 'production',
29 checked: env === 'production' 29 checked: env === 'production'
  30 + },{
  31 + name: '灰度环境',
  32 + value: 'preview',
  33 + checked: env === 'preview'
30 }, { 34 }, {
31 name: '测试环境', 35 name: '测试环境',
32 value: 'test', 36 value: 'test',