Skip to content

Add debug flag to print metrics payload and sketches payload#8929

Merged
bogdandrutu merged 4 commits into
open-telemetry:mainfrom
kmotupalli-tc:add-debug-flag
Mar 30, 2022
Merged

Add debug flag to print metrics payload and sketches payload#8929
bogdandrutu merged 4 commits into
open-telemetry:mainfrom
kmotupalli-tc:add-debug-flag

Conversation

@kmotupalli-tc
Copy link
Copy Markdown
Contributor

Description: Added debug logging to log metrics payload data and sketches payload data sent to Datadog. Redo #5856 as debug log instead of Info log. Metrics payload data and sketches payload data will be logged if collector is started in debug mode.

Link to tracking Issue: #7528

Testing: Started the collector in debug mode to test the output. The metrics payload data and sketches payload only logged if the collector is in debug mode.

@kmotupalli-tc kmotupalli-tc requested a review from a team March 28, 2022 18:53
@kmotupalli-tc kmotupalli-tc requested a review from mx-psi as a code owner March 28, 2022 18:53
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Mar 28, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Copy Markdown
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to address the suggestions 🙇 🙇

This looks good, we just need the CI checks to pass. Right now you are missing two things for CI to pass:

  • Add a changelog entry on CHANGELOG.md
  • Amend your commits so that they have a valid email and user

@mx-psi mx-psi added the ready to merge Code review completed; ready to merge by maintainers label Mar 29, 2022
@mx-psi
Copy link
Copy Markdown
Member

mx-psi commented Mar 29, 2022

I have marked this as 'ready to merge', a maintainer will have a final look and merge it in the next few days :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Code review completed; ready to merge by maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants