alibaba / alibaba/Sentinel

连接不上sentinel-dashboard,这是客户端初始化日志,没有看到心跳初始化HeartbeatSenderInitFunc

Open
#2,548 3 comments 0 reactions 0 assignees View on GitHub
kind/question
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

2022-01-19 16:05:31.113 INFO [FlowRuleManager] Flow rules loaded: {}
2022-01-19 16:05:31.114 INFO App name resolved from default: dtc-jar-with-dependencies
2022-01-19 16:05:31.114 INFO [SentinelConfig] Application type resolved: 0
2022-01-19 16:05:31.117 INFO [MetricWriter] Creating new MetricWriter, singleFileSize=52428800, totalFileCount=6
2022-01-19 16:05:31.118 INFO [DynamicSentinelProperty] Config will be updated to: [FlowRule{resource=downpoc, limitApp=default, grade=1, count=2.0, strategy=0, refResource=null, controlBehavior=0, warmUpPeriodSec=10, maxQueueingTimeMs=500, clusterMode=false, clusterConfig=null, controller=null}]
2022-01-19 16:05:31.119 INFO [FlowRuleManager] Flow rules received: {downpoc=[FlowRule{resource=downpoc, limitApp=default, grade=1, count=2.0, strategy=0, refResource=null, controlBehavior=0, warmUpPeriodSec=10, maxQueueingTimeMs=500, clusterMode=false, clusterConfig=null, controller=com.alibaba.csp.sentinel.slots.block.flow.controller.DefaultController@551bdc27}]}
2022-01-19 16:05:46.271 INFO [SpiLoader] Found SPI implementation for SPI com.alibaba.csp.sentinel.init.InitFunc, provider=com.alibaba.csp.sentinel.metric.extension.MetricCallbackInit, aliasName=com.alibaba.csp.sentinel.metric.extension.MetricCallbackInit, isSingleton=true, isDefault=false, order=0
2022-01-19 16:05:46.272 INFO [InitExecutor] Found init func: com.alibaba.csp.sentinel.metric.extension.MetricCallbackInit
2022-01-19 16:05:46.273 INFO [InitExecutor] Executing com.alibaba.csp.sentinel.metric.extension.MetricCallbackInit with order 2147483647
2022-01-19 16:05:46.274 INFO Add child to node
2022-01-19 16:05:46.276 INFO [SpiLoader] Found SPI implementation for SPI com.alibaba.csp.sentinel.slotchain.SlotChainBuilder, provider=com.alibaba.csp.sentinel.slots.DefaultSlotChainBuilder, aliasName=com.alibaba.csp.sentinel.slots.DefaultSlotChainBuilder, isSingleton=true, isDefault=true, order=0
2022-01-19 16:05:46.277 INFO [SlotChainProvider] Global slot chain builder resolved: com.alibaba.csp.sentinel.slots.DefaultSlotChainBuilder
2022-01-19 16:05:46.278 INFO [SpiLoader] Found SPI implementation for SPI com.alibaba.csp.sentinel.slotchain.ProcessorSlot, provider=com.alibaba.csp.sentinel.slots.nodeselector.NodeSelectorSlot, aliasName=com.alibaba.csp.sentinel.slots.nodeselector.NodeSelectorSlot, isSingleton=false, isDefault=false, order=-10000
2022-01-19 16:05:46.278 INFO [SpiLoader] Found SPI implementation for SPI com.alibaba.csp.sentinel.slotchain.ProcessorSlot, provider=com.alibaba.csp.sentinel.slots.clusterbuilder.ClusterBuilderSlot, aliasName=com.alibaba.csp.sentinel.slots.clusterbuilder.ClusterBuilderSlot, isSingleton=false, isDefault=false, order=-9000
2022-01-19 16:05:46.278 INFO [SpiLoader] Found SPI implementation for SPI com.alibaba.csp.sentinel.slotchain.ProcessorSlot, provider=com.alibaba.csp.sentinel.slots.logger.LogSlot, aliasName=com.alibaba.csp.sentinel.slots.logger.LogSlot, isSingleton=true, isDefault=false, order=-8000
2022-01-19 16:05:46.279 INFO [SpiLoader] Found SPI implementation for SPI com.alibaba.csp.sentinel.slotchain.ProcessorSlot, provider=com.alibaba.csp.sentinel.slots.statistic.StatisticSlot, aliasName=com.alibaba.csp.sentinel.slots.statistic.StatisticSlot, isSingleton=true, isDefault=false, order=-7000
2022-01-19 16:05:46.279 INFO [SpiLoader] Found SPI implementation for SPI com.alibaba.csp.sentinel.slotchain.ProcessorSlot, provider=com.alibaba.csp.sentinel.slots.block.authority.AuthoritySlot, aliasName=com.alibaba.csp.sentinel.slots.block.authority.AuthoritySlot, isSingleton=true, isDefault=false, order=-6000
2022-01-19 16:05:46.279 INFO [SpiLoader] Found SPI implementation for SPI com.alibaba.csp.sentinel.slotchain.ProcessorSlot, provider=com.alibaba.csp.sentinel.slots.system.SystemSlot, aliasName=com.alibaba.csp.sentinel.slots.system.SystemSlot, isSingleton=true, isDefault=false, order=-5000
2022-01-19 16:05:46.280 INFO [SpiLoader] Found SPI implementation for SPI com.alibaba.csp.sentinel.slotchain.ProcessorSlot, provider=com.alibaba.csp.sentinel.slots.block.flow.FlowSlot, aliasName=com.alibaba.csp.sentinel.slots.block.flow.FlowSlot, isSingleton=true, isDefault=false, order=-2000
2022-01-19 16:05:46.280 INFO [SpiLoader] Found SPI implementation for SPI com.alibaba.csp.sentinel.slotchain.ProcessorSlot, provider=com.alibaba.csp.sentinel.slots.block.degrade.DegradeSlot, aliasName=com.alibaba.csp.sentinel.slots.block.degrade.DegradeSlot, isSingleton=true, isDefault=false, order=-1000
2022-01-19 16:05:46.283 INFO Add child to node
2022-01-19 16:05:46.284 INFO [AuthorityRuleManager] Load authority rules: {}
2022-01-19 16:05:46.293 INFO [SystemRuleManager] Current system check status: false, highestSystemLoad: 1.797693e+308, highestCpuUsage: 1.797693e+308, maxRt: 9223372036854775807, maxThread: 9223372036854775807, maxQps: 1.797693e+308
2022-01-19 16:05:46.295 INFO [DegradeRuleManager] Degrade rules loaded: {}
2022-01-19 16:05:46.296 WARNING No SPI configuration file, filename=META-INF/services/com.alibaba.csp.sentinel.metric.extension.MetricExtension, classloader=sun.misc.Launcher$AppClassLoader@5c647e05
2022-01-19 16:05:46.296 INFO [MetricExtensionProvider] No existing MetricExtension found
2022-01-19 16:05:47.120 INFO [MetricWriter] New metric file created: /home/ap/rcs/logs/csp/dtc-jar-with-dependencies-metrics.log.2022-01-19
2022-01-19 16:05:47.121 INFO [MetricWriter] New metric index file created: /home/ap/rcs/logs/csp/dtc-jar-with-dependencies-metrics.log.2022-01-19.idx

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by tracing the client initialization path associated with HeartbeatSenderInitFunc and compare it with the supplied logs, then identify why the sentinel-dashboard connection and heartbeat initialization are absent. Done means the cause is reproducible and the client connects and initializes heartbeats as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.