[jira] [Updated] (MINIFICPP-1987) Configuring a metrics for Processors for C2 Protocol

2023-01-19 Thread Jira


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

Gábor Gyimesi updated MINIFICPP-1987:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Configuring a metrics for Processors for C2 Protocol
> 
>
> Key: MINIFICPP-1987
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1987
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Affects Versions: 0.12.0
>Reporter: Kondakov Artem
>Assignee: Gábor Gyimesi
>Priority: Major
> Fix For: 0.14.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hello.
> I tried to setup receiving metrics using the C2 protocol for my processors.
> The documentation describes that you must explicitly set the metric classes, 
> for example like this
> nifi.c2.root.class.definitions.metrics.metrics.processorMetrics.classes=ListenHTTPMetrics,PostElasticsearchMetrics,InvokeHTTPMetrics,BinFilesMetrics,MergeContentMetrics...
> It turns out a complex configuration, if I want to receive data on all my 
> processors, I need to update the list of these classes every time if I add a 
> new or remove type of processor.
> If I try to configure classes for all possible processors, then I get 50+ 
> errors in the logs, , because not all processor types are involved, for 
> example
> "No metric defined for PublishKafkaMetrics"
> "No metric defined for ConsumeKafkaMetrics"
> etc...
> It seems to me that it is worth making one universal metric class for all 
> processes, or lower the error logging level when searching for a metric class 
> to warning



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MINIFICPP-1987) Configuring a metrics for Processors for C2 Protocol

2022-11-29 Thread Jira


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

Gábor Gyimesi updated MINIFICPP-1987:
-
Status: Patch Available  (was: In Progress)

> Configuring a metrics for Processors for C2 Protocol
> 
>
> Key: MINIFICPP-1987
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1987
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Affects Versions: 0.12.0
>Reporter: Kondakov Artem
>Assignee: Gábor Gyimesi
>Priority: Major
> Fix For: 0.14.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Hello.
> I tried to setup receiving metrics using the C2 protocol for my processors.
> The documentation describes that you must explicitly set the metric classes, 
> for example like this
> nifi.c2.root.class.definitions.metrics.metrics.processorMetrics.classes=ListenHTTPMetrics,PostElasticsearchMetrics,InvokeHTTPMetrics,BinFilesMetrics,MergeContentMetrics...
> It turns out a complex configuration, if I want to receive data on all my 
> processors, I need to update the list of these classes every time if I add a 
> new or remove type of processor.
> If I try to configure classes for all possible processors, then I get 50+ 
> errors in the logs, , because not all processor types are involved, for 
> example
> "No metric defined for PublishKafkaMetrics"
> "No metric defined for ConsumeKafkaMetrics"
> etc...
> It seems to me that it is worth making one universal metric class for all 
> processes, or lower the error logging level when searching for a metric class 
> to warning



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MINIFICPP-1987) Configuring a metrics for Processors for C2 Protocol

2022-11-29 Thread Ferenc Gerlits (Jira)


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

Ferenc Gerlits updated MINIFICPP-1987:
--
Fix Version/s: 0.14.0
   (was: 0.13.0)

> Configuring a metrics for Processors for C2 Protocol
> 
>
> Key: MINIFICPP-1987
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1987
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Affects Versions: 0.12.0
>Reporter: Kondakov Artem
>Assignee: Gábor Gyimesi
>Priority: Major
> Fix For: 0.14.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Hello.
> I tried to setup receiving metrics using the C2 protocol for my processors.
> The documentation describes that you must explicitly set the metric classes, 
> for example like this
> nifi.c2.root.class.definitions.metrics.metrics.processorMetrics.classes=ListenHTTPMetrics,PostElasticsearchMetrics,InvokeHTTPMetrics,BinFilesMetrics,MergeContentMetrics...
> It turns out a complex configuration, if I want to receive data on all my 
> processors, I need to update the list of these classes every time if I add a 
> new or remove type of processor.
> If I try to configure classes for all possible processors, then I get 50+ 
> errors in the logs, , because not all processor types are involved, for 
> example
> "No metric defined for PublishKafkaMetrics"
> "No metric defined for ConsumeKafkaMetrics"
> etc...
> It seems to me that it is worth making one universal metric class for all 
> processes, or lower the error logging level when searching for a metric class 
> to warning



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MINIFICPP-1987) Configuring a metrics for Processors for C2 Protocol

2022-11-16 Thread Kondakov Artem (Jira)


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

Kondakov Artem updated MINIFICPP-1987:
--
Summary: Configuring a metrics for Processors for C2 Protocol  (was: 
Metrics for Processors via C2 Protocol)

> Configuring a metrics for Processors for C2 Protocol
> 
>
> Key: MINIFICPP-1987
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1987
> Project: Apache NiFi MiNiFi C++
>  Issue Type: Improvement
>Affects Versions: 0.12.0
>Reporter: Kondakov Artem
>Priority: Major
> Fix For: 0.13.0
>
>
> Hello.
> I tried to setup receiving metrics using the C2 protocol for my processors.
> The documentation describes that you must explicitly set the metric classes, 
> for example like this
> nifi.c2.root.class.definitions.metrics.metrics.processorMetrics.classes=ListenHTTPMetrics,PostElasticsearchMetrics,InvokeHTTPMetrics,BinFilesMetrics,MergeContentMetrics...
> It turns out a complex configuration, if I want to receive data on all my 
> processors, I need to update the list of these classes every time if I add a 
> new or remove type of processor.
> If I try to configure classes for all possible processors, then I get 50+ 
> errors in the logs, , because not all processor types are involved, for 
> example
> "No metric defined for PublishKafkaMetrics"
> "No metric defined for ConsumeKafkaMetrics"
> etc...
> It seems to me that it is worth making one universal metric class for all 
> processes, or lower the error logging level when searching for a metric class 
> to warning



--
This message was sent by Atlassian Jira
(v8.20.10#820010)