Browse Source

修改大屏和本地的OSS配置

pull/1/head
pref_mail@163.com 1 year ago
parent
commit
711138ee1b
  1. 4
      blade-ops/blade-resource/src/main/resources/application-dev.yml
  2. 8
      script/docker/app/prometheus/config/prometheus.yml
  3. 11
      script/docker/app/prometheus/dashboard/bladex-linux.json

4
blade-ops/blade-resource/src/main/resources/application-dev.yml

@ -15,9 +15,9 @@ oss:
#租户模式
tenant-mode: true
#oss服务地址
endpoint: http://192.168.2.100:9000
endpoint: http://192.168.10.100:9000
#minio转换服务地址,用于内网上传后将返回地址改为转换的外网地址
transform-endpoint: http://192.168.2.100:9000
transform-endpoint: http://192.168.10.100:9000
#访问key
access-key: minio
#密钥key

8
script/docker/app/prometheus/config/prometheus.yml

@ -22,11 +22,17 @@ scrape_configs:
static_configs:
- targets: ['172.30.0.90:9090'] #填写prometheus服务ip:端口
# 监控 linux
- job_name: linux
- job_name: linux-ops
static_configs:
- targets: ['172.30.0.93:9100'] #填写node-exporter的docker服务ip:端口或者宿主机ip:映射的端口
labels:
instance: localhost:linux #实例名称或ip
# 监控 linux
- job_name: linux-app
static_configs:
- targets: [ '172.30.0.93:9100' ] #填写node-exporter的docker服务ip:端口或者宿主机ip:映射的端口
labels:
instance: localhost:linux #实例名称或ip
# 监控 mysql
- job_name: 'mysql'
static_configs:

11
script/docker/app/prometheus/dashboard/bladex-linux.json

@ -18,17 +18,6 @@
"graphTooltip": 1,
"id": 34,
"iteration": 1612446791794,
"links": [
{
"icon": "cloud",
"tags": [],
"targetBlank": true,
"title": "BladeX",
"tooltip": "",
"type": "link",
"url": "https://bladex.vip"
}
],
"panels": [
{
"collapsed": false,

Loading…
Cancel
Save