Github user Ramizjon commented on the issue:
https://github.com/apache/nifi/pull/655
@JPercivall Thank you for your comments.
About two last notes: in order to report to DataDog the DropWizard metrics
"Gauges" are used (A gauge is an instantaneous measurement of a value). They
work in such way, that you register some metric and specify where to take the
value of every metric from (line with `ConcurrentHashMap<String, AtomicDouble>
metricsMap`). After that, DropWizard framework gets metric values from that
structure with specified period of time.
> Also doesn't DataDog use API keys in order to communicate? Shouldn't that
be configured in the ReportingTask?
In order do deliver metrics to DataDog, the DataDog agent is used. It is
the best way do to so. It collects metrics and events and reports them to
DataDog. This approach doesn't require any of API keys, but only agent
installed.
---
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.
---