Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exporter/datadog] - Add debug flag to print payload data sent to Datadog API #7528

Closed
kmotupalli-tc opened this issue Feb 2, 2022 · 3 comments
Labels
data:metrics Metric related issues enhancement New feature or request exporter/datadog Datadog components

Comments

@kmotupalli-tc
Copy link
Contributor

kmotupalli-tc commented Feb 2, 2022

Is your feature request related to a problem? Please describe.

When sending prometheus metrics to Datadog, some of the host metadata, labels and metrics are missing on Datadog.

Describe the solution you'd like

Logging payload data will help debugging this issue.

Describe alternatives you've considered

  1. Log in stdout
  2. Send it to DD logs instead of stdout
  3. Log to file
@mx-psi mx-psi added exporter/datadog Datadog components data:metrics Metric related issues enhancement New feature or request labels Feb 2, 2022
@kmotupalli-tc
Copy link
Contributor Author

0.37.1 version had similar debug logging which got removed in later releases. Want to add similar feature which can be enabled as flag if needed. #5856

@jpkrohling
Copy link
Member

cc @KSerrania @mx-psi @gbbr @knusbaum

@mx-psi
Copy link
Member

mx-psi commented Feb 3, 2022

Sorry, I tagged this but didn't say anything :) We are tracking this internally, I removed the debugging because it was unintended and I want to avoid spammy logs by default, but it may be a good idea to add something like this behind a flag

@mx-psi mx-psi changed the title [Exporter/Datadog] - Add debug flag to print payload data sent to Datadog API [exporter/datadog] - Add debug flag to print payload data sent to Datadog API Mar 21, 2022
ZahidMirza95 pushed a commit to ZahidMirza95/opentelemetry-collector-contrib that referenced this issue Jun 21, 2023
Bump github.com/klauspost/compress from 1.16.3 to 1.16.4
Bump go.opentelemetry.io/build-tools/chloggen from 0.6.0 to 0.7.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/crosslink from 0.6.0 to 0.7.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/multimod from 0.6.0 to 0.7.0 in /internal/tools
Bump go.opentelemetry.io/build-tools/semconvgen from 0.6.0 to 0.7.0 in /internal/tools
Bump golang.org/x/net from 0.8.0 to 0.9.0
Bump golang.org/x/tools from 0.7.0 to 0.8.0 in /internal/tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:metrics Metric related issues enhancement New feature or request exporter/datadog Datadog components
Projects
None yet
Development

No branches or pull requests

3 participants