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

[statsdreceiver] fixup metamonitoring #32309

Closed
wants to merge 4 commits into from

Conversation

diurnalist
Copy link
Contributor

@diurnalist diurnalist commented Apr 10, 2024

Description:
the statsd receiver does not currently emit metrics or traces about its own internal operations, making it difficult to understand if it's working properly. this introduces an integration w/ the receiverhelper.ObsReport helper, which is the standard way to emit this information.

this also changes how the transport debug logs are emitted; they are now logged via a new transport.Logger interface; the primary reason for this is to avoid confusion w/ the naming--the 'reporter' is now the ObsReport instance, and what the transport.Reporter really was doing was simply emitting debug logs.

Link to tracking Issue: #32335

Testing:
no new tests are added, but existing tests are updated to pass.

Documentation:
n/a

@diurnalist diurnalist requested a review from a team April 10, 2024 23:09
@github-actions github-actions bot added the receiver/statsd statsd related issues label Apr 10, 2024
the statsd receiver does not currently emit metrics or traces about its own
internal operations, making it difficult to understand if it's working properly.
this introduces an integration w/ the receiverhelper.ObsReport helper, which
is the standard way to emit this information.

this also changes how the transport debug logs are emitted; they are now logged
via a new transport.Logger interface; the primary reason for this is to avoid
confusion w/ the naming--the 'reporter' is now the ObsReport instance, and what
the transport.Reporter really was doing was simply emitting debug logs.
@diurnalist diurnalist changed the title fixup statsd receiver metamonitoring [statsdreceiver] fixup metamonitoring Apr 11, 2024
@diurnalist
Copy link
Contributor Author

fixes #32335 (i had to file the issue to pass the changelog check)

@diurnalist
Copy link
Contributor Author

this is an alternate implementation to #31839 - the approach in this PR uses the standard ObsReporter helper and hooks it onto the flush function.

Copy link
Contributor

github-actions bot commented May 3, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label May 3, 2024
@github-actions github-actions bot removed the Stale label May 17, 2024
Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

github-actions bot commented Jun 3, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jun 3, 2024
@diurnalist
Copy link
Contributor Author

duplicated by #33415

@diurnalist diurnalist closed this Jun 11, 2024
@diurnalist diurnalist deleted the f/statsd-metamon branch June 11, 2024 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
receiver/statsd statsd related issues Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants