forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Collect metrics on number of logs lines printed (apache#2735)
### Motivation Expose metrics in Prometheus regarding the number of log messages printed by each process. This will add metrics like: ``` # TYPE log4j2_appender_total counter log4j2_appender_total{cluster="standalone",level="debug"} 0.0 log4j2_appender_total{cluster="standalone",level="warn"} 1.0 log4j2_appender_total{cluster="standalone",level="trace"} 0.0 log4j2_appender_total{cluster="standalone",level="error"} 0.0 log4j2_appender_total{cluster="standalone",level="fatal"} 0.0 log4j2_appender_total{cluster="standalone",level="info"} 181.0 ```
- Loading branch information
Showing
4 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters