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

"Failed to publish metrics to OTLP receiver" error message contains no actionable context #4829

Conversation

climategadgets
Copy link
Contributor

@climategadgets climategadgets commented Mar 5, 2024

Existing Behavior
Failed to publish metrics to OTLP receiver is the only information users see in the log (other than the exception trace which often doesn't contain actionable information).

Updated Behavior
Failed to publish metrics to OTLP receiver (context: ...) is the message they will now see, where context contains the config URL and resource attributes. This will make troubleshooting easier.

Additional Context
#4828

@pivotal-cla This is an Obvious Fix

@pivotal-cla
Copy link

@climategadgets Please sign the Contributor License Agreement!

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

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@climategadgets This Pull Request contains an obvious fix. Signing the Contributor License Agreement is not necessary.

@shakuzen shakuzen changed the title Addressed #4693 ("Failed to publish metrics to OTLP receiver" error message contains no actionable context) "Failed to publish metrics to OTLP receiver" error message contains no actionable context Mar 11, 2024
@shakuzen shakuzen added enhancement A general enhancement registry: otlp OpenTelemetry Protocol (OTLP) registry-related labels Mar 11, 2024
@shakuzen shakuzen added this to the 1.13.0-M2 milestone Mar 11, 2024
@shakuzen shakuzen merged commit 4d05ec4 into micrometer-metrics:main Mar 11, 2024
6 checks passed
@shakuzen
Copy link
Member

Thanks for opening the issue and making a pull request for this. It will be included in the upcoming 1.13.0-M2 pre-release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A general enhancement registry: otlp OpenTelemetry Protocol (OTLP) registry-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Failed to publish metrics to OTLP receiver" error message contains no actionable context
3 participants