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

[receiver/zookeeper] Migrate scraper to new experimental metrics builder #6522

Merged

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Dec 4, 2021

@dmitryax dmitryax requested a review from a team December 4, 2021 00:30
@dmitryax dmitryax marked this pull request as draft December 4, 2021 00:31
@dmitryax dmitryax force-pushed the move-zookeeper-to-new-scraper branch from c0b5526 to 4c7fa74 Compare December 4, 2021 00:43
@dmitryax dmitryax marked this pull request as ready for review December 4, 2021 05:19
@dmitryax dmitryax force-pushed the move-zookeeper-to-new-scraper branch 5 times, most recently from 3d57723 to 159063f Compare December 7, 2021 01:32
Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

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

LGTM.

receiver/zookeeperreceiver/scraper.go Show resolved Hide resolved
@djaglowski djaglowski added the ready to merge Code review completed; ready to merge by maintainers label Dec 8, 2021
}
}
if keepRM {
z.mb.Emit(ilm.Metrics())
if ilm.Metrics().Len() > 0 {
rm.CopyTo(rms.AppendEmpty())
Copy link
Member

Choose a reason for hiding this comment

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

Maybe followup, investigate if this can be "MoveTo" :)

@dmitryax dmitryax force-pushed the move-zookeeper-to-new-scraper branch from 159063f to 4a04116 Compare December 10, 2021 02:40
@dmitryax
Copy link
Member Author

dmitryax commented Dec 10, 2021

Now depends on the fix: #6683

UPD: PR merged, this one is rebased

@dmitryax dmitryax force-pushed the move-zookeeper-to-new-scraper branch from fb5ab1e to 1f7d6e0 Compare December 10, 2021 18:28
@bogdandrutu bogdandrutu merged commit 0a4d966 into open-telemetry:main Dec 10, 2021
PaurushGarg referenced this pull request in open-o11y/opentelemetry-collector-contrib Dec 11, 2021
PaurushGarg referenced this pull request in open-o11y/opentelemetry-collector-contrib Dec 11, 2021
@dmitryax dmitryax deleted the move-zookeeper-to-new-scraper branch December 14, 2021 00:28
PaurushGarg referenced this pull request in open-o11y/opentelemetry-collector-contrib Dec 14, 2021
povilasv referenced this pull request in coralogix/opentelemetry-collector-contrib Dec 19, 2022
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
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.

4 participants