Github user Ramizjon commented on the issue:

    https://github.com/apache/nifi/pull/655
  
    @JPercivall Yes, i've already did it in the way you recommend, by calling 
report() method every onTrigger() call.
    
    DataDog agent is very commonly used approach of sending metrics to DataDog. 
Firstly, it goes about aggregation. It is used to aggregate many data points 
from different sources (not only from NiFi) and send them. So if user is using 
DataDog for a lot of purposes it's obvious that it is more efficient to use 
such unified module as agent. Secondly, it works much faster than direct 
approach, because of accepting custom application metrics points over UDP.  The 
application won’t stop its actual work to wait for a response from the 
metrics server, which is very important if the metrics server is down or 
inaccessible. Thirdly, DataDog provides single-line install commands for every 
OS, so it is absolutely painless. However i suggest to add direct approach as 
additional feature, for users that don't want to install an Agent.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to