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/hostmetrics] Deprecate processesscraper #30894

Closed

Conversation

braydonk
Copy link
Contributor

@braydonk braydonk commented Jan 30, 2024

Description:
This PR deprecates the processesscraper in favour of adding the functionality to the processscraper.

Link to tracking Issue:
#30895

Testing:
I wrote all testing with explanations in https://gist.github.com/braydonk/124f4242299a8cb03f44c55b056450e1

Documentation:
I added a note to the hostmetricsreceiver README and generated new docs for processscraper.

This commit deprecates the processesscraper in favour of adding the
functionality to the processscraper.
braydonk and others added 3 commits February 1, 2024 13:43
Since this receiver is in beta, I should not have directly been making a
deprecation in this PR. Instead this PR will be focused on adding the
functionality to the `processscraper` and provides a warning suggestion
to the `processesscraper` instead of directly declaring it deprecated.
The guard in scrapeAndAppendSystemProcessesCreated metric was already
covered by the record data point function.
* Add system.processes.* metrics to allowed metrics in duplicate metrics
  validation test
* Change ctx arg to _ in certain functions
* Change type name to Scraper in processesscraper fallback
@github-actions github-actions bot added the cmd/mdatagen mdatagen command label Feb 1, 2024
Fixed a misname in the fallback build for aggregate process data, run
gci on the aggregate_process files.
@dmitryax
Copy link
Member

As discussed on the System Semantic Conventions SIG, we want to have a way to disable all metrics in particular group. It's needed if users don't have the process scraper currently enabled. Otherwise, they would have to individually disable all the process metrics emitted by default to make the transition.

Copy link
Contributor

github-actions bot commented Mar 1, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Mar 1, 2024
Copy link
Contributor

Closed as inactive. Feel free to reopen if this PR is still being worked on.

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.

4 participants