Add Prometheus Endpoint to the core and extensions modules of streampipes. #1925
-
PurposeTo support prometheus in monitoring streampipes. SolutionUsing 'spring-boot-starter-actuator'Adds monitoring metrics to a springboot application using 'spring-boot-starter-actuator', 'spring-boot-starter-actuator' provides information about the memory usage of the springboot application, the number of threads, and information related to CPU, etc. Adding Custom MetricsAdd custom metrics on top of the metrics provided by 'spring-boot-starter-actuator', add custom metrics about prometheus in streampipes and put this related code into the streampipes-commons module. Specific implementationIntegrate actuatorAdd actuator library and actuator configuration to StreamPipesServiceBase module to integrate actuator with core and extensions modules.
Custom Indicators1、Implement a global registry
2, in straempipes to create a Prometheus module, in the module to define indicators such as pipline statistics class.
3, create a Prometheus indicator class
4、Data Buried Points
5、Register
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
HI @luoluoyuyu that's an awesome idea! I really like this a lot. |
Beta Was this translation helpful? Give feedback.
-
Hi @luoluoyuyu, |
Beta Was this translation helpful? Give feedback.
-
hi |
Beta Was this translation helpful? Give feedback.
hi
I submitted a pr on this proposal(#1950)