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

[Dynatrace] debug log in exporter when no meters are registered #4951

Conversation

pichlermarc
Copy link
Contributor

Adds a debug log for when no meters are passed to DynatraceExporterV2#export() and returns early as any code after this is a no-op.

Currently, when no meters are passed to export, we don't send any requests nor do we do any other operations that would indicate that the exporter being called on any log-level, thus making it harder for users and/or support engineers to diagnose this trivial case.

cc @pirgeo

@pivotal-cla
Copy link

@pichlermarc Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pichlermarc
Copy link
Contributor Author

(keeping as draft until I've sorted out the CLA situation 🙂)

@pivotal-cla
Copy link

@pichlermarc Thank you for signing the Contributor License Agreement!

@pichlermarc pichlermarc marked this pull request as ready for review April 8, 2024 10:39
@shakuzen shakuzen added enhancement A general enhancement registry: dynatrace A Dynatrace Registry related issue labels Apr 8, 2024
@shakuzen shakuzen added this to the 1.13.0-RC1 milestone Apr 8, 2024
Copy link
Member

@shakuzen shakuzen left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks.

@shakuzen shakuzen merged commit 9938602 into micrometer-metrics:main Apr 8, 2024
2 checks passed
@arminru arminru deleted the feat/no-meters-debug-log branch April 10, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A general enhancement registry: dynatrace A Dynatrace Registry related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants