[ 
https://issues.apache.org/jira/browse/IGNITE-29284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Faddei Pozdeev updated IGNITE-29284:
------------------------------------
    Description: 
Add per-level log message counters to help monitor logging activity on Ignite 
nodes and in the CDC application.

Count messages in {{GridLoggerProxy}} and expose the following long metrics in 
the {{log.count}} registry: {{{}trace{}}}, {{{}debug{}}}, {{{}info{}}}, 
{{{}warning{}}}, and {{{}error{}}}.

Counters should be shared across logger categories within each node or CDC 
instance and remain independent between instances. Messages counted before 
metric registration should be preserved.

Count TRACE, DEBUG, and INFO messages only when the corresponding level is 
enabled. Count all WARN and ERROR calls. These counters reflect logger calls 
and do not guarantee delivery to a file or another destination, as the logging 
backend may apply additional filters.

Make the metrics available through the existing metric exporters and document 
them in the metrics reference.

> Add log message count metrics by level to GridLoggerProxy
> ---------------------------------------------------------
>
>                 Key: IGNITE-29284
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29284
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Faddei Pozdeev
>            Priority: Major
>              Labels: metrics-to-log
>             Fix For: 2.19
>
>
> Add per-level log message counters to help monitor logging activity on Ignite 
> nodes and in the CDC application.
> Count messages in {{GridLoggerProxy}} and expose the following long metrics 
> in the {{log.count}} registry: {{{}trace{}}}, {{{}debug{}}}, {{{}info{}}}, 
> {{{}warning{}}}, and {{{}error{}}}.
> Counters should be shared across logger categories within each node or CDC 
> instance and remain independent between instances. Messages counted before 
> metric registration should be preserved.
> Count TRACE, DEBUG, and INFO messages only when the corresponding level is 
> enabled. Count all WARN and ERROR calls. These counters reflect logger calls 
> and do not guarantee delivery to a file or another destination, as the 
> logging backend may apply additional filters.
> Make the metrics available through the existing metric exporters and document 
> them in the metrics reference.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to