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/k8scluster] Unify predefined and custom node metrics #24776

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Aug 2, 2023

Update node metrics description and units to be consistent and remove predefined metrics definitions from metadata.yaml because they are controlled by node_conditions_to_report and allocatable_types_to_report config options. Having two controls to enable/disable metrics would be confusing. Currently, most of the predefined metrics are marked as enabled, but in reality only k8s.node.condition_ready is reported by default.

Potentially, later we could introduce support of metadata.yaml definitions for metrics matching particular globs like k8s.node.condition_* or move the variable path of the metric name to an attribute

@dmitryax dmitryax requested review from a team and songy23 August 2, 2023 01:10
@dmitryax dmitryax force-pushed the k8scluster-consolidate-custom-node-metrics branch 4 times, most recently from 5644527 to 81a1a26 Compare August 2, 2023 01:39
Update metrics description and units to be consistent and remove predefined metrics definitions from metadata.yaml because they are controlled by `node_conditions_to_report` and `allocatable_types_to_report` config options. Having two controls to enable/disable metrics would be confusing.

Potentially, later we could introduce support of metadata.yaml definitions for metrics matching particular globs like `k8s.node.condition_*`
@dmitryax dmitryax force-pushed the k8scluster-consolidate-custom-node-metrics branch from 81a1a26 to a372560 Compare August 2, 2023 01:55
@dmitryax dmitryax merged commit 0f73823 into open-telemetry:main Aug 2, 2023
@github-actions github-actions bot added this to the next release milestone Aug 2, 2023
@dmitryax dmitryax deleted the k8scluster-consolidate-custom-node-metrics branch August 2, 2023 05:01
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