grpc-ecosystem / grpc-spring

Spring Boot starter module for gRPC framework.
https://grpc-ecosystem.github.io/grpc-spring/
Apache License 2.0
3.52k stars 826 forks source link

关于metrics模块指标的含义需要文档 #894

Open yitizi opened 1 year ago

yitizi commented 1 year ago

The problem

你们提供了基于spring-boot的标准的监控指标,我也能拿来导出到prometheus中去,但是想要拿来应用到grafana时却不知道面板该怎么配置,能提供监控值的详细说明吗?包括单位等

yitizi commented 1 year ago

能提供集成好的grafana面板是最好的了

ST-DDT commented 1 year ago

https://github-com.translate.goog/yidongnan/grpc-spring-boot-starter/issues/894?_x_tr_sl=zh-TW&_x_tr_tl=en


We only added support for the classes provided by micrometer:

https://github.com/micrometer-metrics/micrometer/tree/main/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/grpc

So IMO the example/explanation should there as well. And I will link to it from here.

Some basic documentation is available here:

https://yidongnan.github.io/grpc-spring-boot-starter/en/actuator.html

If you have some suggestions for improvements, please let us know.

yitizi commented 1 year ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近有事,无法亲自回复您的邮件。我将在事情做完后,尽快给您回复。

yitizi commented 1 year ago

Thank you for your reply. I noticed that you mentioned the support you provide for the classes provided by Micrometer. There are numerous metric values, and i am attempting to export them to Prometheus and visualize them in Grafana using graphs. It would be beneficial if you could provide me with a Grafana dashboard to demonstrate how to use it effectively.

fengli79 commented 11 months ago

gRPC-Spring -> Actuator/Micrometer -> Prometheus -> Grafana is a typical observability setup we are working on, stay informed.