当前位置:网站首页>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
边栏推荐
- 论文学习记录随笔 多标签之LSML
- Servlet
- OpenGL ES: (1) OpenGL ES的由来 (转)
- excel动态图表
- Infinite horizontal marble game
- In win10 and win11, the scroll direction of Elan touch panel is reversed, and "double finger click to open the right-click menu" and "double finger scroll" are started“
- TIDB数据库特性总结
- 【知识点总结】卡方分布,t分布,F分布
- Talking from mlperf: how to lead the next wave of AI accelerator
- 穿越派·派盘 + Mountain Duck = 数据本地管理
猜你喜欢

FPGA - 7系列 FPGA内部结构之Clocking -02- 时钟布线资源

穿越派 你的数据云行

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

Preliminary level of C language -- selected good questions on niuke.com

What if the data in the cloud disk is harmonious?

Essay learning record essay multi label Global

Brief description of activation function

无限水平大理石游戏

scope 数据导出mat

OpenGL ES: (5) OpenGL的基本概念、OpenGL ES 在屏幕产生图片的过程、OpenGL管线(pipeline)
随机推荐
excel初级应用案例——杜邦分析仪
FPGA - 7系列 FPGA内部结构之Clocking -02- 时钟布线资源
2022 the 8th China International "Internet +" college student innovation and entrepreneurship competition industry proposition track is open for registration!
Looking for high school student developers with similar interests
Multi label lsml for essay learning records
Cjc8988 Low Power Stereo codec with 2 stereo headphone drivers
2022 年面向初学者的 10 大免费 3D 建模软件
DEV XPO对比之XAF BO
Don't put your notes and videos everywhere!
FPGA - 7系列 FPGA内部结构之Clocking -01- 时钟架构概述
C language beginner level - realize the minesweeping game
数据库问题,如何优化Oracle SQL查询语句更快,效率更高
千万不要把笔记视频乱放!
2022第八届中国国际“互联网+”大学生创新创业大赛产业命题赛道开启报名!
DEV XPO对比之UOW
Qt编写自定义控件-自绘电池
【考研高数 武忠祥+880版 自用】高数第二章基础阶段思维导图
机械臂速成小指南(六):步进电机驱动器
HCM 初学 ( 四 ) - 时间
穿越派·派盘 + Mountain Duck = 数据本地管理