环境信息 (必填)
pigx版本: 3.4.0
是否修改包名: 是
这些步骤都是在pigx-monitor中配置的
虽然 sql监控那里 可以显示 有哪些 服务了, 但是
1>SQL监控中 显示不出来执行SQL
2>数据源中报
(*) property for user to setup
3>druid 点击首页 显示不了 版本以及Java信息 等
但是单独用upms-biz 查看druid是可以查看上述信息的
monitor的配置
spring:
安全配置
security:
user:
name: ENC(rZHA4LW5hHmhLAAzJoFNag==) # pigx
password: ENC(bjeyh+Aeii3kHXkoo00ZUw==) # pigx
boot:
admin:
ui:
resource-locations: 'classpath:/ui/,classpath:/static/'
template-location: 'classpath:/ui/'
title: 'pigx 服务状态监控'
brand: 'pigx 服务状态监控'
external-views:
- label: "SQL监控"
url: /druid/sql.html
order: 2000
management:
endpoints:
web:
exposure:
include: '*'
endpoint:
health:
show-details: ALWAYS #显示详细信息
biz的配置
spring security 配置
security:
oauth2:
client:
client-id: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
client-secret: ENC(ltJPpR50wT0oIY9kfOe1Iw==)
scope: server
ignore-urls:
- /druid/**
- /actuator/**
- /v2/api-docs
数据源
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
druid:
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL-USER:root}
password: ${MYSQL-PWD:sha9}
url: jdbc:mysql://${MYSQL-HOST:pigx-mysql}:${MYSQL-PORT:3306}/${MYSQL-DB:sundsoft_base}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true
stat-view-servlet:
enabled: true
allow: ""
url-pattern: /druid/*
login-username: admin
login-password: admin
filter:
stat:
enabled: true
log-slow-sql: true
slow-sql-millis: 10000
merge-sql: false
wall:
config:
multi-statement-allow: true
因为保密原因 不能截图 和照相 见谅
描述(无法理解工单,将直接关闭)
日志、截图、回显步骤