Skip to content

[chore] Extract zookeeper scraper as standalone module #37388

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

Merged

Conversation

bogdandrutu
Copy link
Member

Part of open-telemetry/opentelemetry-collector#11238

In this PR, only check that the new scraper interface for component and factory can be used for this use-case. Already proven for hostmetrics so no need for more than this.

Items TODO next:

  • Add support in the integration tests to run directly the scraper. This will also make test more deterministic.
  • In core will add support for "scraperreceiver" and deprecate zookeeperreceiver when that is available.

@bogdandrutu bogdandrutu requested review from djaglowski and a team as code owners January 21, 2025 19:04
@bogdandrutu bogdandrutu force-pushed the extract-zookeeper-scraper branch 8 times, most recently from 4797d1d to 714df3a Compare January 21, 2025 21:55
@bogdandrutu bogdandrutu force-pushed the extract-zookeeper-scraper branch from 714df3a to 9849c4a Compare January 21, 2025 22:15
@bogdandrutu bogdandrutu force-pushed the extract-zookeeper-scraper branch 2 times, most recently from 9ad89ed to 8538310 Compare January 30, 2025 22:14
@bogdandrutu bogdandrutu force-pushed the extract-zookeeper-scraper branch from 8538310 to fdcbf88 Compare January 30, 2025 22:20
@bogdandrutu bogdandrutu merged commit 4cc4d30 into open-telemetry:main Jan 30, 2025
161 of 162 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 30, 2025
chengchuanpeng pushed a commit to chengchuanpeng/opentelemetry-collector-contrib that referenced this pull request Feb 8, 2025
…y#37388)

Part of
open-telemetry/opentelemetry-collector#11238

In this PR, only check that the new scraper interface for component and
factory can be used for this use-case. Already proven for hostmetrics so
no need for more than this.

Items TODO next:
* Add support in the integration tests to run directly the scraper. This
will also make test more deterministic.
* In core will add support for "scraperreceiver" and deprecate
zookeeperreceiver when that is available.

Signed-off-by: Bogdan Drutu <[email protected]>
zeck-ops pushed a commit to zeck-ops/opentelemetry-collector-contrib that referenced this pull request Apr 23, 2025
…y#37388)

Part of
open-telemetry/opentelemetry-collector#11238

In this PR, only check that the new scraper interface for component and
factory can be used for this use-case. Already proven for hostmetrics so
no need for more than this.

Items TODO next:
* Add support in the integration tests to run directly the scraper. This
will also make test more deterministic.
* In core will add support for "scraperreceiver" and deprecate
zookeeperreceiver when that is available.

Signed-off-by: Bogdan Drutu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants