Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
loit-shardingsphere-seata-nacos-feign-provider
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
loit-Infrastructure-example
loit-shardingsphere-seata-nacos-feign-provider
Commits
f61c8030
提交
f61c8030
authored
2月 13, 2020
作者:
陈世营
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
mybatis config update
上级
e62d8e54
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
9 行增加
和
542 行删除
+9
-542
application-dev.yml
...eign-provider-main/src/main/resources/application-dev.yml
+7
-13
application-sharding-databases-tables.yml
.../main/resources/application-sharding-databases-tables.yml
+0
-0
file.conf
...ign-provider-main/src/main/resources/config-bak/file.conf
+0
-137
logback.xml
...n-provider-main/src/main/resources/config-bak/logback.xml
+0
-39
registry.conf
...provider-main/src/main/resources/config-bak/registry.conf
+0
-73
seata.conf
...gn-provider-main/src/main/resources/config-bak/seata.conf
+0
-21
file.conf
...ta-nacos-feign-provider-main/src/main/resources/file.conf
+2
-2
application-local.yml
...vider-main/src/main/resources/local/application-local.yml
+0
-120
file.conf
...os-feign-provider-main/src/main/resources/local/file.conf
+0
-137
没有找到文件。
loit-shardingsphere-seata-nacos-feign-provider-main/src/main/resources/application-dev.yml
浏览文件 @
f61c8030
...
...
@@ -4,12 +4,6 @@ server:
spring
:
application
:
name
:
loit-shardingshere
cloud
:
nacos
:
discovery
:
# Nacos 注册中心地址
server-addr
:
39.100.254.140:8103
namespace
:
3ac84119-5558-4bf8-b309-034dd0e458e0
aop
:
#使用CGLIB来实现AOP的时候
proxy-target-class
:
true
shardingsphere
:
...
...
@@ -20,9 +14,9 @@ spring:
# type: com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
username
:
root
password
:
loit2019ABC
jdbc-url
:
jdbc:mysql://
192.168.66.40:3321
/demo_ds_0?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
url
:
jdbc:mysql://
192.168.66.40:3321
/demo_ds_0?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
password
:
abcd1234A!
jdbc-url
:
jdbc:mysql://
39.98.202.173:3306
/demo_ds_0?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
url
:
jdbc:mysql://
39.98.202.173:3306
/demo_ds_0?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
filters
:
stat,wall,log4j
maxActive
:
20
initialSize
:
1
...
...
@@ -42,9 +36,9 @@ spring:
# type: com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
username
:
root
password
:
loit2019ABC
jdbc-url
:
jdbc:mysql://
192.168.66.40:3321
/demo_ds_1?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
url
:
jdbc:mysql://
192.168.66.40:3321
/demo_ds_1?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
password
:
abcd1234A!
jdbc-url
:
jdbc:mysql://
39.98.202.173:3306
/demo_ds_1?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
url
:
jdbc:mysql://
39.98.202.173:3306
/demo_ds_1?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
filters
:
stat,wall,log4j
maxActive
:
20
initialSize
:
1
...
...
@@ -100,7 +94,7 @@ mybatis-plus:
# datasource: dataSource
mapper-locations
:
classpath:/mapper/**/*.xml
#实体扫描,多个package用逗号或者分号分隔
type-aliases-package
:
com.loit.shardingsphere.seata.
modules.entity
type-aliases-package
:
com.loit.shardingsphere.seata.
nacos.feign.modules
#typeEnumsPackage: com.baomidou.springboot.entity.enums
global-config
:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID", 4:"该类型为未设置主键类型", 5:"字符串全局唯一ID";
...
...
loit-shardingsphere-seata-nacos-feign-provider-main/src/main/resources/
config-bak/application
.yml
→
loit-shardingsphere-seata-nacos-feign-provider-main/src/main/resources/
application-sharding-databases-tables
.yml
浏览文件 @
f61c8030
File moved
loit-shardingsphere-seata-nacos-feign-provider-main/src/main/resources/config-bak/file.conf
deleted
100644 → 0
浏览文件 @
e62d8e54
transport
{
# tcp udt unix-domain-socket
type
=
"TCP"
#NIO NATIVE
server
=
"NIO"
#enable heartbeat
heartbeat
=
true
#thread factory for netty
thread
-
factory
{
boss
-
thread
-
prefix
=
"NettyBoss"
worker
-
thread
-
prefix
=
"NettyServerNIOWorker"
server
-
executor
-
thread
-
prefix
=
"NettyServerBizHandler"
share
-
boss
-
worker
=
false
client
-
selector
-
thread
-
prefix
=
"NettyClientSelector"
client
-
selector
-
thread
-
size
=
1
client
-
worker
-
thread
-
prefix
=
"NettyClientWorkerThread"
# netty boss thread size,will not be used for UDT
boss
-
thread
-
size
=
1
#auto default pin or 8
worker
-
thread
-
size
=
8
}
shutdown
{
# when destroy server, wait seconds
wait
=
3
}
serialization
=
"seata"
compressor
=
"none"
}
service
{
#transaction service group mapping
vgroup_mapping
.
loit
-
shardingshere
-
seata
-
service
-
group
=
"default"
#only support when registry.type=file, please don't set multiple addresses
default
.
grouplist
=
"127.0.0.1:8091"
#degrade, current not support
enableDegrade
=
false
#disable seata
disableGlobalTransaction
=
false
}
client
{
rm
{
async
.
commit
.
buffer
.
limit
=
10000
lock
{
retry
.
internal
=
10
retry
.
times
=
30
retry
.
policy
.
branch
-
rollback
-
on
-
conflict
=
true
}
report
.
retry
.
count
=
5
table
.
meta
.
check
.
enable
=
false
report
.
success
.
enable
=
true
}
tm
{
commit
.
retry
.
count
=
5
rollback
.
retry
.
count
=
5
}
undo
{
data
.
validation
=
true
log
.
serialization
=
"jackson"
log
.
table
=
"undo_log"
}
log
{
exceptionRate
=
100
}
support
{
# auto proxy the DataSource bean
spring
.
datasource
.
autoproxy
=
false
}
}
## transaction log store
store
{
## store mode: file、db
mode
=
"db"
## file store property
file
{
## store location dir
dir
=
"sessionStore"
# branch session size , if exceeded first try compress lockkey, still exceeded throws exceptions
max
-
branch
-
session
-
size
=
16384
# globe session size , if exceeded throws exceptions
max
-
global
-
session
-
size
=
512
# file buffer size , if exceeded allocate new buffer
file
-
write
-
buffer
-
cache
-
size
=
16384
# when recover batch read size
session
.
reload
.
read_size
=
100
# async, sync
flush
-
disk
-
mode
=
async
}
## database store property
db
{
## the implement of javax.sql.DataSource, such as DruidDataSource(druid)/BasicDataSource(dbcp) etc.
datasource
=
"dbcp"
## mysql/oracle/h2/oceanbase etc.
db
-
type
=
"mysql"
driver
-
class
-
name
=
"com.mysql.jdbc.Driver"
url
=
"jdbc:mysql://39.98.202.173:3306/seata_server"
user
=
"root"
password
=
"abcd1234A!"
min
-
conn
=
1
max
-
conn
=
10
global
.
table
=
"global_table"
branch
.
table
=
"branch_table"
lock
-
table
=
"lock_table"
query
-
limit
=
100
}
}
server
{
recovery
{
#schedule committing retry period in milliseconds
committing
-
retry
-
period
=
1000
#schedule asyn committing retry period in milliseconds
asyn
-
committing
-
retry
-
period
=
1000
#schedule rollbacking retry period in milliseconds
rollbacking
-
retry
-
period
=
1000
#schedule timeout retry period in milliseconds
timeout
-
retry
-
period
=
1000
}
undo
{
log
.
save
.
days
=
7
#schedule delete expired undo_log in milliseconds
log
.
delete
.
period
=
86400000
}
#unit ms,s,m,h,d represents milliseconds, seconds, minutes, hours, days, default permanent
max
.
commit
.
retry
.
timeout
=
"-1"
max
.
rollback
.
retry
.
timeout
=
"-1"
}
## metrics settings
metrics
{
enabled
=
false
registry
-
type
=
"compact"
# multi exporters use comma divided
exporter
-
list
=
"prometheus"
exporter
-
prometheus
-
port
=
9898
}
\ No newline at end of file
loit-shardingsphere-seata-nacos-feign-provider-main/src/main/resources/config-bak/logback.xml
deleted
100644 → 0
浏览文件 @
e62d8e54
<?xml version="1.0" encoding="UTF-8"?>
<configuration
scan=
"true"
scanPeriod=
"60 seconds"
debug=
"false"
>
<property
name=
"LOG_HOME"
value=
"logs/fescar-all"
/>
<appender
name=
"stdout"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder
class=
"ch.qos.logback.classic.encoder.PatternLayoutEncoder"
>
<Pattern>
%date{yyyy-MM-dd HH:mm:ss.SSS} %-5level[%thread]%logger{56}.%method:%L -%msg%n
</Pattern>
</encoder>
</appender>
<appender
name=
"fescar-default"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<file>
${LOG_HOME}/fescar-server.log
</file>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${LOG_HOME}/fescar-client.log.%d{yyyy-MM-dd}.%i
</fileNamePattern>
<maxFileSize>
2GB
</maxFileSize>
<MaxHistory>
7
</MaxHistory>
<totalSizeCap>
7GB
</totalSizeCap>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
</rollingPolicy>
<encoder>
<Pattern>
%date %level %msg%n%n
</Pattern>
<charset>
UTF-8
</charset>
</encoder>
</appender>
<logger
name=
"com.alibaba.fescar.server.store.FileTransactionStoreManager"
additivity=
"false"
>
<level
value=
"INFO"
/>
<appender-ref
ref=
"fescar-default"
/>
</logger>
<root
level=
"DEBUG"
>
<appender-ref
ref=
"fescar-default"
/>
<appender-ref
ref=
"stdout"
/>
</root>
</configuration>
loit-shardingsphere-seata-nacos-feign-provider-main/src/main/resources/config-bak/registry.conf
deleted
100644 → 0
浏览文件 @
e62d8e54
registry
{
# file 、nacos 、eureka、redis、zk、consul、etcd3、sofa
type
=
"nacos"
nacos
{
serverAddr
=
"39.100.254.140:8103"
namespace
=
"public"
cluster
=
"default"
}
eureka
{
serviceUrl
=
"http://localhost:8761/eureka"
application
=
"default"
weight
=
"1"
}
redis
{
serverAddr
=
"localhost:6379"
db
=
"0"
}
zk
{
cluster
=
"default"
serverAddr
=
"127.0.0.1:2181"
session
.
timeout
=
6000
connect
.
timeout
=
2000
}
consul
{
cluster
=
"default"
serverAddr
=
"127.0.0.1:8500"
}
etcd3
{
cluster
=
"default"
serverAddr
=
"http://localhost:2379"
}
sofa
{
serverAddr
=
"127.0.0.1:9603"
application
=
"default"
region
=
"DEFAULT_ZONE"
datacenter
=
"DefaultDataCenter"
cluster
=
"default"
group
=
"SEATA_GROUP"
addressWaitTime
=
"3000"
}
file
{
name
=
"file.conf"
}
}
config
{
# file、nacos 、apollo、zk、consul、etcd3
type
=
"file"
nacos
{
serverAddr
=
"39.100.254.140:8103"
namespace
=
"public"
}
consul
{
serverAddr
=
"127.0.0.1:8500"
}
apollo
{
app
.
id
=
"seata-server"
apollo
.
meta
=
"http://192.168.1.204:8801"
}
zk
{
serverAddr
=
"127.0.0.1:2181"
session
.
timeout
=
6000
connect
.
timeout
=
2000
}
etcd3
{
serverAddr
=
"http://localhost:2379"
}
file
{
name
=
"file.conf"
}
}
loit-shardingsphere-seata-nacos-feign-provider-main/src/main/resources/config-bak/seata.conf
deleted
100644 → 0
浏览文件 @
e62d8e54
## ---------------------------------------------------------------------------
## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements. See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not use this file except in compliance with
## the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
client
{
application
.
id
=
loit
-
shardingshere
transaction
.
service
.
group
=
loit
-
shardingshere
-
seata
-
service
-
group
}
loit-shardingsphere-seata-nacos-feign-provider-main/src/main/resources/file.conf
浏览文件 @
f61c8030
...
...
@@ -94,9 +94,9 @@ store {
## mysql/oracle/h2/oceanbase etc.
db
-
type
=
"mysql"
driver
-
class
-
name
=
"com.mysql.jdbc.Driver"
url
=
"jdbc:mysql://
192.168.66.40:3321
/seata_server"
url
=
"jdbc:mysql://
39.98.202.173:3306
/seata_server"
user
=
"root"
password
=
"
loit2019ABC
"
password
=
"
abcd1234A!
"
min
-
conn
=
1
max
-
conn
=
10
global
.
table
=
"global_table"
...
...
loit-shardingsphere-seata-nacos-feign-provider-main/src/main/resources/local/application-local.yml
deleted
100644 → 0
浏览文件 @
e62d8e54
server
:
port
:
8090
spring
:
application
:
name
:
loit-shardingshere
aop
:
#使用CGLIB来实现AOP的时候
proxy-target-class
:
true
shardingsphere
:
datasource
:
names
:
ds0,ds1
ds0
:
type
:
com.alibaba.druid.pool.DruidDataSource
# type: com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
username
:
root
password
:
loit2019ABC
jdbc-url
:
jdbc:mysql://192.168.66.40:3321/demo_ds_0?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
url
:
jdbc:mysql://192.168.66.40:3321/demo_ds_0?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
filters
:
stat,wall,log4j
maxActive
:
20
initialSize
:
1
maxWait
:
60000
minIdle
:
1
timeBetweenEvictionRunsMillis
:
60000
minEvictableIdleTimeMillis
:
300000
validationQuery
:
select 'x'
testWhileIdle
:
true
testOnBorrow
:
false
testOnReturn
:
false
poolPreparedStatements
:
true
maxOpenPreparedStatements
:
20
connection-properties
:
druid.stat.merggSql=ture;druid.stat.slowSqlMillis=5000
ds1
:
type
:
com.alibaba.druid.pool.DruidDataSource
# type: com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.jdbc.Driver
username
:
root
password
:
loit2019ABC
jdbc-url
:
jdbc:mysql://192.168.66.40:3321/demo_ds_1?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
url
:
jdbc:mysql://192.168.66.40:3321/demo_ds_1?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
filters
:
stat,wall,log4j
maxActive
:
20
initialSize
:
1
maxWait
:
60000
minIdle
:
1
timeBetweenEvictionRunsMillis
:
60000
minEvictableIdleTimeMillis
:
300000
validationQuery
:
select 'x'
testWhileIdle
:
true
testOnBorrow
:
false
testOnReturn
:
false
poolPreparedStatements
:
true
maxOpenPreparedStatements
:
20
connection-properties
:
druid.stat.merggSql=ture;druid.stat.slowSqlMillis=5000
sharding
:
default-database-strategy
:
inline
:
sharding-column
:
user_id
algorithm-expression
:
ds$->{user_id % 2}
tables
:
t_order
:
actual-data-nodes
:
ds$->{0..1}.t_order_$->{0..1}
table-strategy
:
inline
:
sharding-column
:
order_id
algorithm-expression
:
t_order_$->{order_id % 2}
key-generator
:
column
:
order_id
type
:
SNOWFLAKE
props
:
worker.id
:
123
t_order_item
:
actual-data-nodes
:
ds$->{0..1}.t_order_item_$->{0..1}
table-strategy
:
inline
:
sharding-column
:
order_id
algorithm-expression
:
t_order_item_$->{order_id % 2}
key-generator
:
column
:
order_item_id
type
:
SNOWFLAKE
props
:
worker.id
:
123
#mybatis:
# mapper-locations: classpath:/mapper/**/*.xml #把xml文件放在com.XX.mapper.*中可能会出现找到的问题,这里把他放在resource下的mapper中
# #实体扫描,多个package用逗号或者分号分隔
# typeAliasesPackage: com.company.spring.boot.shardingsphere.seata.modules.entity #这里是实体类的位置
# configuration:
# map-underscore-to-camel-case: true
# cache-enabled: false
mybatis-plus
:
# datasource: dataSource
mapper-locations
:
classpath:/mapper/**/*.xml
#实体扫描,多个package用逗号或者分号分隔
type-aliases-package
:
com.loit.shardingsphere.seata.modules.entity
#typeEnumsPackage: com.baomidou.springboot.entity.enums
global-config
:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID", 4:"该类型为未设置主键类型", 5:"字符串全局唯一ID";
id-type
:
2
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy
:
1
#驼峰下划线转换
db-column-underline
:
true
#刷新mapper 调试神器
refresh-mapper
:
true
#数据库大写下划线转换
#capital-mode: true
#逻辑删除配置(下面3个配置)
logic-delete-value
:
0
logic-not-delete-value
:
1
# SQL 解析缓存,开启后多租户 @SqlParser 注解生效
sql-parser-cache
:
true
configuration
:
map-underscore-to-camel-case
:
true
cache-enabled
:
false
configuration-properties
:
dbType
:
mysql
#设置全局属性用于控制数据库的类型
\ No newline at end of file
loit-shardingsphere-seata-nacos-feign-provider-main/src/main/resources/local/file.conf
deleted
100644 → 0
浏览文件 @
e62d8e54
transport
{
# tcp udt unix-domain-socket
type
=
"TCP"
#NIO NATIVE
server
=
"NIO"
#enable heartbeat
heartbeat
=
true
#thread factory for netty
thread
-
factory
{
boss
-
thread
-
prefix
=
"NettyBoss"
worker
-
thread
-
prefix
=
"NettyServerNIOWorker"
server
-
executor
-
thread
-
prefix
=
"NettyServerBizHandler"
share
-
boss
-
worker
=
false
client
-
selector
-
thread
-
prefix
=
"NettyClientSelector"
client
-
selector
-
thread
-
size
=
1
client
-
worker
-
thread
-
prefix
=
"NettyClientWorkerThread"
# netty boss thread size,will not be used for UDT
boss
-
thread
-
size
=
1
#auto default pin or 8
worker
-
thread
-
size
=
8
}
shutdown
{
# when destroy server, wait seconds
wait
=
3
}
serialization
=
"seata"
compressor
=
"none"
}
service
{
#transaction service group mapping
vgroup_mapping
.
loit
-
shardingshere
-
seata
-
service
-
group
=
"default"
#only support when registry.type=file, please don't set multiple addresses
default
.
grouplist
=
"127.0.0.1:8091"
#degrade, current not support
enableDegrade
=
false
#disable seata
disableGlobalTransaction
=
false
}
client
{
rm
{
async
.
commit
.
buffer
.
limit
=
10000
lock
{
retry
.
internal
=
10
retry
.
times
=
30
retry
.
policy
.
branch
-
rollback
-
on
-
conflict
=
true
}
report
.
retry
.
count
=
5
table
.
meta
.
check
.
enable
=
false
report
.
success
.
enable
=
true
}
tm
{
commit
.
retry
.
count
=
5
rollback
.
retry
.
count
=
5
}
undo
{
data
.
validation
=
true
log
.
serialization
=
"jackson"
log
.
table
=
"undo_log"
}
log
{
exceptionRate
=
100
}
support
{
# auto proxy the DataSource bean
spring
.
datasource
.
autoproxy
=
false
}
}
## transaction log store
store
{
## store mode: file、db
mode
=
"db"
## file store property
file
{
## store location dir
dir
=
"sessionStore"
# branch session size , if exceeded first try compress lockkey, still exceeded throws exceptions
max
-
branch
-
session
-
size
=
16384
# globe session size , if exceeded throws exceptions
max
-
global
-
session
-
size
=
512
# file buffer size , if exceeded allocate new buffer
file
-
write
-
buffer
-
cache
-
size
=
16384
# when recover batch read size
session
.
reload
.
read_size
=
100
# async, sync
flush
-
disk
-
mode
=
async
}
## database store property
db
{
## the implement of javax.sql.DataSource, such as DruidDataSource(druid)/BasicDataSource(dbcp) etc.
datasource
=
"dbcp"
## mysql/oracle/h2/oceanbase etc.
db
-
type
=
"mysql"
driver
-
class
-
name
=
"com.mysql.jdbc.Driver"
url
=
"jdbc:mysql://192.168.66.40:3321/seata_server"
user
=
"root"
password
=
"loit2019ABC"
min
-
conn
=
1
max
-
conn
=
10
global
.
table
=
"global_table"
branch
.
table
=
"branch_table"
lock
-
table
=
"lock_table"
query
-
limit
=
100
}
}
server
{
recovery
{
#schedule committing retry period in milliseconds
committing
-
retry
-
period
=
1000
#schedule asyn committing retry period in milliseconds
asyn
-
committing
-
retry
-
period
=
1000
#schedule rollbacking retry period in milliseconds
rollbacking
-
retry
-
period
=
1000
#schedule timeout retry period in milliseconds
timeout
-
retry
-
period
=
1000
}
undo
{
log
.
save
.
days
=
7
#schedule delete expired undo_log in milliseconds
log
.
delete
.
period
=
86400000
}
#unit ms,s,m,h,d represents milliseconds, seconds, minutes, hours, days, default permanent
max
.
commit
.
retry
.
timeout
=
"-1"
max
.
rollback
.
retry
.
timeout
=
"-1"
}
## metrics settings
metrics
{
enabled
=
false
registry
-
type
=
"compact"
# multi exporters use comma divided
exporter
-
list
=
"prometheus"
exporter
-
prometheus
-
port
=
9898
}
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论