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

[exporterhelper] make enqueue failures available #8674

Merged
merged 4 commits into from
Oct 20, 2023

Conversation

codeboten
Copy link
Contributor

These metrics were only exporter either via OC or via the prometheus exporter. Fixes #8673

Copy link
Contributor

@jmacd jmacd left a comment

Choose a reason for hiding this comment

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

🥇 💯 🚀 👍

codeboten pushed a commit to codeboten/opentelemetry-collector that referenced this pull request Oct 12, 2023
When looking at open-telemetry#8674, I ran into some changes that were harder than they needed to in the test utility. I'm separating changes to the prometheusChecker into a separate PR to reduce the size of 8674.

Signed-off-by: Alex Boten <aboten@lightstep.com>
codeboten pushed a commit that referenced this pull request Oct 12, 2023
When looking at
#8674, I
ran into some changes that were harder than they needed to in the test
utility. I'm separating changes to the prometheusChecker into a separate
PR to reduce the size of 8674.

Signed-off-by: Alex Boten <aboten@lightstep.com>
These metrics were only exporter either via OC or via the prometheus
exporter. Fixes open-telemetry#8673

Signed-off-by: Alex Boten <aboten@lightstep.com>
@codeboten codeboten marked this pull request as ready for review October 12, 2023 21:51
@codeboten codeboten requested review from a team and Aneurysm9 October 12, 2023 21:51
Signed-off-by: Alex Boten <aboten@lightstep.com>
@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Files Coverage Δ
exporter/exporterhelper/common.go 97.11% <100.00%> (ø)
exporter/exporterhelper/obsreport.go 100.00% <ø> (+5.08%) ⬆️
internal/obsreportconfig/obsreportconfig.go 93.54% <100.00%> (+0.21%) ⬆️
exporter/exporterhelper/logs.go 85.05% <66.66%> (ø)
exporter/exporterhelper/metrics.go 85.05% <66.66%> (ø)
exporter/exporterhelper/traces.go 85.22% <66.66%> (ø)
obsreport/obsreporttest/obsreporttest.go 79.16% <0.00%> (-7.20%) ⬇️
obsreport/obsreporttest/otelprometheuschecker.go 89.47% <25.00%> (-4.98%) ⬇️
exporter/exporterhelper/obsexporter.go 92.00% <73.46%> (-6.02%) ⬇️

... and 8 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

Copy link
Contributor

@moh-osman3 moh-osman3 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 making this change!

exporter/exporterhelper/obsexporter.go Show resolved Hide resolved
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
@codeboten
Copy link
Contributor Author

@jmacd @moh-osman3 @dmitryax could I get another review on this, would be great to get this out in the next release.

@codeboten codeboten merged commit 844b628 into open-telemetry:main Oct 20, 2023
31 of 32 checks passed
@codeboten codeboten deleted the codeboten/fix-8673 branch October 20, 2023 18:28
@github-actions github-actions bot added this to the next release milestone Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

enqueue_failed counters not available in otel metrics
4 participants