polaris
polaris copied to clipboard
Service Discovery and Governance Platform for Microservice and Distributed Architecture
我在使用的过程中发现,如果我在北极星控制台上面写错了配置文件类型,可以正常发布,但是不生效,想看看后续官方能否添加一个文件格式验证的功能,在发布的时候验证一下配置文件的格式,以避免由于配置文件格式不对所导致的不生效的问题
问题描述: 场景是在大量的定时任务脚本中会初始化北极星实例,定时任务一般是在分钟级别完成。一天大概会有20W的量级,服务发布3天发现 CPU再持续增长。 分析: 通过 `pprof` 查看发现大部分时间耗费 `healthcheck` 中,对应的代码为值 https://github.com/polarismesh/polaris/blob/v1.17.5/service/healthcheck/check.go#L147 1. 避免对 `instance` 的遍历会降低 `CPU` 的使用 ```go func (c *CheckScheduler) processAdoptEvents( instances map[string]bool, add bool, checker plugin.HealthChecker) map[string]bool { instanceIds...
版本描述: 1.polaris:v1_18_1 2.spring-cloud-tencent:1.13.2-2023.0.0 错误截图:  
alamalinux 9,安装standalone 1.18.1版本,服务都正常启动,打开polaris控制台网页,可观测性均持续转圈,其中服务调用监控报错。     polaris-console服务报错日志:  polaris-limiter感觉有问题,stdout文件如下: rate-limit server start load config: &{Logger:{OutputPaths:[] ErrorOutputPaths:[] RotateOutputPath:log/polaris-limiter.log RotationMaxSize:500 RotationMaxAge:30 RotationMaxBackups:100 JSONEncoding:false LogGrpc:false Level:info outputLevels: logCallers: stackTraceLevels:} Registry:{Enable:true PolarisServerAddress:127.0.0.1:8091 Name:polaris.limiter...
1. windows standalone版本安装后没有生成windows 后台服务,重启系统各服务没有启动,是否设计如此? 2. windows版本和linux版本在功能、稳定性有无区别?
**Describe the bug** 按文档安装Windows 1.18.1 standalone版本,安装显示成功,但是polaris-server没有启动,手动启动报错如下:  用vscode打开polaris-server.yaml,**发现文件最后一行有空行,删除最后一空行**,程序可以启动。 另外,polaris-server没有启动的场景下,登录polaris-console报错提示不明显,需要查看后台日志。 
版本:1.18.0 客户端版本:com.alibaba.nacos/nacos-client/2.1.0 客户端代码: ```java package com.su; import com.alibaba.nacos.api.NacosFactory; import com.alibaba.nacos.api.config.ConfigService; import com.alibaba.nacos.api.config.listener.Listener; import com.alibaba.nacos.api.exception.NacosException; import java.util.Properties; import java.util.concurrent.Executor; public class Main { public static void main(String[] args) throws NacosException {...