You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…e on par with DD api spec (open-telemetry#35744)
#### Description
Changes the responses to be on par with the datadog api spec as per:
https://docs.datadoghq.com/api/latest/metrics/?code-lang=go
#### Link to tracking issue
Fixesopen-telemetry#35743
<!--Describe what testing was performed and which tests were added.-->
#### Testing
Unit test is updated
<!--Describe the documentation added.-->
#### Documentation
Added changelog, no other docs seem to be required
Component(s)
receiver/datadog
What happened?
Description
https://docs.datadoghq.com/api/latest/metrics/?code-lang=go
Response should be
However, the receiver response with a string
OK
: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/datadogreceiver/receiver.go#L286Why this matters
For example here: https://github.com/apache/airflow/blob/39f8e1d487ab8f1969aaec512fdffacca989813c/providers/src/airflow/providers/datadog/hooks/datadog.py#L68
The body is checked, which is causing failures.
Collector version
latest
Environment information
No response
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: