Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/3736#discussion_r112065330
--- Diff: docs/monitoring/metrics.md ---
@@ -436,6 +436,38 @@ metrics.reporter.stsd.port: 8125
{% endhighlight %}
+### Datadog (org.apache.flink.metrics.datadog.DatadogHttpReporter)
+
+In order to use this reporter you must copy
`/opt/flink-metrics-datadog-{{site.version}}.jar` into the `/lib` folder
+of your Flink distribution.
+
+Parameters:
+
+- `apikey` - the Datadog API key
+- `tags` - (optional) the global tags that will be applied to metrics when
sending to Datadog. Tags should be separated by comma only
+
+Example configuration:
+
+{% highlight yaml %}
+
+metrics.reporters: dghttp
+metrics.reporter.dghttp.class:
org.apache.flink.metrics.datadog.DatadogHttpReporter
+metrics.reporter.dghttp.apikey: xxx
+metrics.reporter.dghttp.tags: myflinkapp,prod
+
+// <host>, <job_name>, <tm_id>, <subtask_index>, <task_name>,
<operator_name> will be sent to Datadog as tags
+metrics.scope.jm: <host>.jobmanager
+metrics.scope.jm.job: <host>.<job_name>.jobmanager.job
+metrics.scope.tm: <host>.<tm_id>.taskmanager
+metrics.scope.tm.job: <host>.<tm_id>.<job_name>.taskmanager.job
+metrics.scope.task:
<host>.<tm_id>.<job_name>.<subtask_index>.<task_name>.task
+metrics.scope.operator:
<host>.<tm_id>.<job_name>.<subtask_index>.<operator_name>.operator
+
+{% endhighlight %}
+
+Such metric reporting implementation is a best practice based on our
experience working with Datadog. It helps
--- End diff --
Please remove this, it doesn't belong in the documentation.
---
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.
---