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] Convert clusterresourcequota to use pdata #24416

Merged
merged 8 commits into from
Jul 24, 2023

Conversation

crobert-1
Copy link
Member

@crobert-1 crobert-1 commented Jul 20, 2023

Description:

This converts the clusterresourcequota metrics of the k8scluster receiver to use the pdata metric format instead of opencensus.

Link to tracking Issue:
#4367

Testing:
Updated existing test to use pdata, ensuring metrics have same output format.

Documentation:

This converts the clusterresourcequota metrics to use the pdata
format instead of opencensus.
- resource should be an attribute of the metric, not a resource attribute.
- k8s namespace needs to also be an attribute of the metric and not
a resource attribute
- Remove unecessary extra method
- Update test to match original format of metrics
Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

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

LGTM

.chloggen/k8s-cluster-receiver-clusterresourcequota.yaml Outdated Show resolved Hide resolved
@dmitryax
Copy link
Member

@crobert-1 is this PR ready?

@crobert-1 crobert-1 marked this pull request as ready for review July 24, 2023 18:55
@crobert-1 crobert-1 requested a review from a team July 24, 2023 18:55
@crobert-1
Copy link
Member Author

@crobert-1 is this PR ready?

Yes, this is ready.

@dmitryax dmitryax merged commit 25aa923 into open-telemetry:main Jul 24, 2023
89 of 90 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 24, 2023
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