Comments (6)
我测试了一下,应该是你配置了auto-registry:true,这时候nid是必须的。因为需要注册到Nightingale中,如果不配置auto-registry,nid不是必须的
from micrometer-registry-nightingale.
十分感谢你的耐心回复~
** 发现另有两个小问题**
1.auto-registry属性没有配置默认值,因此,必须配置true或false,是否考虑给个你比较推荐的默认值。
2.nightingale 版本为
V3.7.1,metrics上报时,返回的值是:
{"dat":"ok","err":""}` ,因此会打印如下error log
NightingaleMeterRegistry.lambda$publish$3(99): failed to send metrics to nightingale: {"dat":"ok","err":""}
from micrometer-registry-nightingale.
感谢反馈
auto-registry默认值这里确实应该给个默认值的,
nightingale版本更新后返回值这个倒是没留意,之前为了省事直接对比了字符串,这两个问题晚上我修复一下
from micrometer-registry-nightingale.
赞
from micrometer-registry-nightingale.
还发现依赖方面感觉是存在些问题的,spring boot使用的是2.3.5.RELEASE,但spring-boot-starter-json,是用的2.2.13.RELEASE的版本,应该是可以统一升至相同的版本的。
from micrometer-registry-nightingale.
这个是我本地开发环境导致的,当初开发主包的时候用的2.3.5。后来开发starter的时候改成了2.2.13。不过这个不影响的最终取决于你引入的starter-web的�版本
from micrometer-registry-nightingale.
Related Issues (2)
- 是否支持夜莺v5版本? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micrometer-registry-nightingale.