如何在没有千分尺的情况下收集并将指标从Java应用程序发送到Prometheus?
我有2件事:
- Java应用程序。
- Prometheus Server
我的任务是收集应用程序指标,然后发送到Prometheus。
我只找到了一种方法:使用千分尺。作为Java应用程序,因此很方便乘坐Spring Boot,因为它与千分尺的集成良好,后者具有适合Prometheus的适配器。
还有其他选择吗?
PS我尝试通过Dropwizard指标来实现它,但我被困了 - Google中几乎没有有关它的信息。
I have 2 things:
- A java application.
- Prometheus server
My task is gather application metrics and send then to Prometheus.
I've found only 1 way to do it: using Micrometer. And as a java application it is convenient to take spring boot because it has a good integration with Micrometer and latter has adapter for Prometheus.
Are there any other options ?
P.S. I try to achieve it via dropwizard metrics but I am stuck - there almost no information in google about it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论