apache / hudi

Upserts, Deletes And Incremental Processing on Big Data.
https://hudi.apache.org/
Apache License 2.0
5.23k stars 2.39k forks source link

[SUPPORT] DataDog Metrics Reporter using outdated DataDog API endpoint #8785

Open bradleybonitatibus opened 1 year ago

bradleybonitatibus commented 1 year ago

Describe the problem you faced

I'm trying to configure DataDogMetricsReporter for many DeltaStreamer jobs and getting the following issue when using the 0.13.0 documentation for metrics (https://hudi.apache.org/docs/metrics/#datadogmetricsreporter):

Caused by: javax.net.ssl.SSLPeerUnverifiedException: Host name 'app.us.datadoghq.com' 
does not match the certificate subject provided by
the peer (CN=*.datadoghq.com, O="Datadog, Inc.", L=New York, ST=New York, C=US)

To Reproduce

Steps to reproduce the behavior:

  1. Follow Metrics documentation for DataDogMetricsReporter
  2. Add API Key and turn metrics on
  3. Deploy delta streamer job with the appropriate properties

Expected behavior

I expected to see the hoodie. prefixed metrics in DataDog.

Environment Description

Additional context

I've reached out to DataDog Support and they seem to say something similar regarding the outdated endpoint being the possible cause of this failure to write metrics to DataDog.

The Metrics Writer uses "app.us.datadoghq" but the official documentation says the API needs to be api.datadoghq.com.

parisni commented 6 months ago

the api has changed, this is true. but as a workaround you can turn:

                    {"hoodie.metrics.datadog.metric.host", "api.datadoghq"},