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/hostmetricsreceiver] Add threads count metric #12802

Merged
merged 7 commits into from
Aug 18, 2022

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Aug 1, 2022

Description:
Add threads count metric to hostmetricsreceiver.

Link to tracking Issue:
#12482

Testing:
Supported with mock as part of unit tests, checking error is reported.

Documentation:
Addition to documentation of the new metric.

@dmitryax
Copy link
Member

dmitryax commented Aug 1, 2022

Is this metric important enough to be enabled by default? It'll be a breaking change and will change amount of data that users collect and send to backends by default after upgrade. I think this should be an optional metric

@atoulme
Copy link
Contributor Author

atoulme commented Aug 1, 2022

Made it optional, thanks for the feedback!

@atoulme atoulme force-pushed the add_threads_count branch 4 times, most recently from 66ea504 to b6bee3a Compare August 1, 2022 20:32
@atoulme atoulme marked this pull request as ready for review August 1, 2022 20:52
@atoulme atoulme requested a review from a team August 1, 2022 20:52
@atoulme atoulme requested a review from dmitryax as a code owner August 1, 2022 20:52
@dmitryax
Copy link
Member

dmitryax commented Aug 1, 2022

This receiver has all the metrics defined in semantic conventions. This new metric should also be submitted there first even if it's optional, just to avoid further changes if this PR is merged first

@atoulme
Copy link
Contributor Author

atoulme commented Aug 2, 2022

Opened this PR to update the specification open-telemetry/opentelemetry-specification#2705

@atoulme atoulme force-pushed the add_threads_count branch 3 times, most recently from ca55042 to 1552f3b Compare August 2, 2022 17:47
@github-actions
Copy link
Contributor

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

@dmitryax dmitryax merged commit 0cdd473 into open-telemetry:main Aug 18, 2022
@atoulme atoulme deleted the add_threads_count branch August 18, 2022 16:47
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.

3 participants