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] Rename memory state attribute to system.memory.state #34312

Open
rogercoll opened this issue Jul 30, 2024 · 8 comments
Open
Labels
enhancement New feature or request receiver/hostmetrics waiting-for:semantic-conventions Waiting on something on semantic-conventions to be stabilized

Comments

@rogercoll
Copy link
Contributor

Component(s)

receiver/hostmetrics

Is your feature request related to a problem? Please describe.

state attribute in the memory scrapper should be renamed to system.memory.state for alignment with semantic conventions: https://github.com/rogercoll/semantic-conventions/blob/a77e59d1f1ffe6cebf7622a9eee7c25a326d7ac7/model/registry/system.yaml#L33

Describe the solution you'd like

Rename state attribute to system.memory.state under a feature gate.

Describe alternatives you've considered

No response

Additional context

No response

@rogercoll rogercoll added enhancement New feature or request needs triage New item requiring triage labels Jul 30, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@crobert-1
Copy link
Member

Makes sense to me, agreed that they should match.

One thing I'm a bit unfamiliar with, I see valid values for upstream's semantic conventions don't match with the receiver attribute's valid values. Do we also have to consolidate those values, or is it acceptable to keep existing values? (Open question to anyone who would know).

@crobert-1 crobert-1 removed the needs triage New item requiring triage label Jul 30, 2024
@braydonk
Copy link
Contributor

We have a transition plan to move everything over. Roughly:

  • There will be a semantic conventions featuregate for the receiver (I had intended to do this by now but work got in the way; it's still on my list)
  • Under that featuregate, metrics and attributes will use new names
  • When the semantic conventions are stabilized upstream, we will ensure they are all reflected under the featuregate
  • After some time the featuregate will go beta (on by default), and eventually the featuregate will be removed and only the new names will exist

@odubajDT
Copy link
Contributor

Hi, I would like to look at this issue

@rogercoll
Copy link
Contributor Author

@odubajDT Thanks for involvement! I am not 100% if this issue is ready to be contributed yet, as it should be implemented under a semantic conventions feature gate that will wrap the latest system metric changes. Like #32712 and #34311

I think @braydonk is currently working with the addition of this featuregate.

@braydonk
Copy link
Contributor

Yes, unfortunately this is blocked right now. We want to have a proper guard in place, preferably with a feature gate, but there were some complications I had putting that in place. Changes are likely required to mdatagen, which I am working on but have been away quite a bit the last couple weeks.

@odubajDT
Copy link
Contributor

odubajDT commented Sep 2, 2024

All clear, thanks for the update!

Copy link
Contributor

github-actions bot commented Nov 4, 2024

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions github-actions bot added the Stale label Nov 4, 2024
@mx-psi mx-psi added the waiting-for:semantic-conventions Waiting on something on semantic-conventions to be stabilized label Nov 20, 2024
@github-actions github-actions bot removed the Stale label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request receiver/hostmetrics waiting-for:semantic-conventions Waiting on something on semantic-conventions to be stabilized
Projects
None yet
Development

No branches or pull requests

5 participants