当前位置:网站首页>Skywalking integrated Nacos dynamic configuration
Skywalking integrated Nacos dynamic configuration
2022-07-01 05:57:00 【Ruoyu 1919】
modify config/application.yml
configuration:
selector: ${
SW_CONFIGURATION:nacos}
nacos:
# Nacos Server Host
serverAddr: ${
SW_CONFIG_NACOS_SERVER_ADDR:192.168.229.130}
# Nacos Server Port
port: ${
SW_CONFIG_NACOS_SERVER_PORT:8848}
# Nacos Configuration Group
group: ${
SW_CONFIG_NACOS_SERVER_GROUP:skywalking}
# Nacos Configuration namespace
namespace: ${
SW_CONFIG_NACOS_SERVER_NAMESPACE:db20ccfd-db01-47bd-a4d3-393b4e7df260}
# Unit seconds, sync period. Default fetch every 60 seconds.
period: ${
SW_CONFIG_NACOS_PERIOD:10}
# Nacos auth username
username: ${
SW_CONFIG_NACOS_USERNAME:"nacos"}
password: ${
SW_CONFIG_NACOS_PASSWORD:"nacos"}
add to nacos To configure
such as :
dataid = configuration-discovery.default.agentConfigurations
group = skywalking
Content :
configurations:
demo-application:
agent.trace.ignore_path: "**/actuator/**"

After preservation , stay skywalking The console will print the following output :
Nacos config changed: configuration-discovery.default.agentConfigurations: configurations:
demo-application:
agent.trace.ignore_path: "**/actuator/**"
Supported configuration items
Reference resources :https://skywalking.apache.org/docs/main/v9.1.0/en/setup/backend/dynamic-config/
| key | Value Description | Value Format Example |
|---|---|---|
| agent-analyzer.default.slowDBAccessThreshold | Thresholds of slow Database statement. Overrides agent-analyzer/default/slowDBAccessThreshold of application.yml. | default:200,mongodb:50 |
| agent-analyzer.default.uninstrumentedGateways | The uninstrumented gateways. Overrides gateways.yml | Same as gateways.yml |
| alarm.default.alarm-settings | The alarm settings. Overrides alarm-settings.yml | Same as alarm-settings.yml |
| core.default.apdexThreshold | The apdex threshold settings. Overrides service-apdex-threshold.yml | Same as service-apdex-threshold.yml |
| core.default.endpoint-name-grouping | The endpoint name grouping setting. Overrides endpoint-name-grouping.yml | Same as endpoint-name-grouping.yml |
| core.default.log4j-xml | The log4j xml configuration. Overrides log4j2.xml | Same as log4j2.xml |
| agent-analyzer.default.traceSamplingPolicy | The sampling policy for default and service dimension, override trace-sampling-policy-settings.yml | same as trace-sampling-policy-settings.yml |
| configuration-discovery.default.agentConfigurations | The ConfigurationDiscovery settings. | See configuration-discovery.md |
configuration-discovery.default.agentConfigurations
Configure content formatting
configurations:
//service name
serviceA:
// Configurations of service A
// Key and Value are determined by the agent side.
// Check the agent setup doc for all available configurations.
key1: value1
key2: value2
...
serviceB:
Supported by key
| Key |
|---|
| agent.sample_n_per_3_secs |
| agent.ignore_suffix |
| agent.trace.ignore_path |
| agent.span_limit_per_segment |
The use of dynamic configuration
such as : Can dynamically adjust the needs ignore Of endpoint
边栏推荐
- Essay learning record essay multi label Global
- Preliminary level of C language -- selected good questions on niuke.com
- Advanced drawing skills of Excel lecture 100 (1) - use Gantt chart to show the progress of the project
- C语言初阶——牛客网精选好题
- What if the data in the cloud disk is harmonious?
- excel动态图表
- SystemVerilog学习-09-进程间同步、通信和虚方法
- jdbc-连接池
- 从MLPerf谈起:如何引领AI加速器的下一波浪潮
- This is the necessary software for college students 𞓜 knowledge management
猜你喜欢

为了保护自己的数据,他奋斗了一天一夜

【医学分割】u2net

jdbc 数据库操作

Dear pie users, I want to confess to you!

He struggled day and night to protect his data

Essay learning record essay multi label Global

TiDB单机模拟部署生产环境集群(闭坑实践,亲测有效)

OpenGL ES: (3) EGL、EGL绘图的基本步骤、EGLSurface、ANativeWindow

喊我们大学生个人云服务特供商

Geoffrey Hinton: my 50 years of in-depth study and Research on mental skills
随机推荐
【考研高数 武忠祥+880版 自用】高数第二章基础阶段思维导图
ONEFLOW source code parsing: automatic inference of operator signature
jdbc-连接池
Multi label lsml for essay learning records
win10、win11中Elan触摸板滚动方向反转、启动“双指点击打开右键菜单“、“双指滚动“
扩展点系列之SmartInstantiationAwareBeanPostProcessor确定执行哪一个构造方法 - 第432篇
What if the data in the cloud disk is harmonious?
码蹄集 - MT3149 · AND - 数据不是很强,暴力剪枝就能骗AC
Debug details under pycharm
El tooltip in the table realizes line breaking display
Geoffrey Hinton:我的五十年深度学习生涯与研究心法
excel可视化
FPGA - 7系列 FPGA内部结构之Clocking -02- 时钟布线资源
linux 关闭redis 进程 systemd+
OpenGL ES: (3) EGL、EGL绘图的基本步骤、EGLSurface、ANativeWindow
SystemVerilog学习-08-随机约束和线程控制
【问题思考总结】为什么寄存器清零是在用户态进行的?
OpenGL ES: (5) OpenGL的基本概念、OpenGL ES 在屏幕产生图片的过程、OpenGL管线(pipeline)
My experience from technology to product manager
葫芦儿 APP 使用帮助