[
https://issues.apache.org/jira/browse/FLINK-6013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15989382#comment-15989382
]
ASF GitHub Bot commented on FLINK-6013:
---------------------------------------
Github user bowenli86 commented on the issue:
https://github.com/apache/flink/pull/3736
@StephanEwen @zentol I've made the following changes:
1) Datadog (DD) itself has a bug of being unstable when users filter
metrics by 'host' in dashboards if 'host' is sent as tags, details in
[FLINK-6013](https://issues.apache.org/jira/browse/FLINK-6013). Communicated
with DD engineers, they fixed the issue, and now, as advised by them, I'm
making 'host' a separate field in metric serialization. Tested the new approach
successfully, and we are able to filter metrics by 'host' consistently
correctly on DD dashboard.
2) Added more unit tests for the above change. Unit tests cover both cases
when 'host' is present in MetricGroup and when it isn't
3) Found Maven can only recognize and run unit tests when file name ends
with 'Test' rather than 'Tests'. So I renamed my test file to
'DatadogHttpClientTest' from 'DatadogHttpClientTests'
4) Upgraded okhttp and okio to newer versions
5) Found mocking system millisec will impact the new okhttp. So I separated
unit tests to two enclosed test sets in 'DatadogHttpClientTest'
Having successfully tested this across my company in the past couple days,
I'm now pretty confident this is production ready.
I agree on @zentol 's proposal if you guys are currently busy with other
things, as long as we make sure this ends up in 1.3 :) Thanks, guys!
> Add Datadog HTTP metrics reporter
> ---------------------------------
>
> Key: FLINK-6013
> URL: https://issues.apache.org/jira/browse/FLINK-6013
> Project: Flink
> Issue Type: Improvement
> Components: Metrics
> Affects Versions: 1.3.0
> Reporter: Bowen Li
> Assignee: Bowen Li
> Priority: Critical
> Fix For: 1.3.0
>
>
> We at OfferUp use Datadog a lot for metrics and dashboards, and I believe a
> lot other companies also do.
> Flink right now only has a StatsD metrics reporter, and users have to set up
> Datadog Agent in order to receive metrics from StatsD and transport them to
> Datadog. We don't like this approach.
> We prefer to have a Datadog metrics reporter directly contacting Datadog http
> endpoint.
> I'll take this ticket myself.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)