[ 
https://issues.apache.org/jira/browse/NIFI-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16290663#comment-16290663
 ] 

Pierre Villard commented on NIFI-3293:
--------------------------------------

[~joewitt] [~mattyb149]

Yeah... I initially submitted this PR a long time ago to achieve some specific 
needs. In the end, I can now achieve the same using the existing Controller 
Status reporting task.

I agree that counters could be used to store sensitive information and can 
store business-oriented data. But we could say that the controller status 
reporting task is a bit similar: it accesses things that are protected through 
authent/authorization when using the REST API.

I guess we could change the counters to add a boolean defining if a counter is 
"private" and should not be available to reporting tasks. Thoughts?

> Expose counter repository to reporting tasks
> --------------------------------------------
>
>                 Key: NIFI-3293
>                 URL: https://issues.apache.org/jira/browse/NIFI-3293
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Minor
>
> At the moment a {{ReportingTask}} cannot access {{CounterRepository}}. It 
> would be nice to add this feature allowing reporting tasks to send counters 
> data.
> A first implementation would be to add counters data in metrics sent by the 
> Ambari Reporting Task so that custom graphs can be easily added in tools such 
> as Grafana.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to