Skip to content

Merge *.cpu.state attributes to a common cpu.mode attribute#1026

Merged
joaopgrassi merged 18 commits intoopen-telemetry:mainfrom
ChrsMark:merge_cpu_states
Jun 26, 2024
Merged

Merge *.cpu.state attributes to a common cpu.mode attribute#1026
joaopgrassi merged 18 commits intoopen-telemetry:mainfrom
ChrsMark:merge_cpu_states

Conversation

@ChrsMark
Copy link
Copy Markdown
Member

@ChrsMark ChrsMark commented May 10, 2024

Fixes #840

Changes

This PR introduces a common cpu.state cpu.mode attribute which is a converged attribute from the system.cpu.state, process.cpu.state and container.cpu.state.

Merge requirement checklist

@ChrsMark ChrsMark requested review from a team May 10, 2024 10:07
@ChrsMark ChrsMark self-assigned this May 10, 2024
Comment thread docs/system/process-metrics.md
Comment thread docs/system/container-metrics.md Outdated
@ChrsMark ChrsMark requested a review from a team May 10, 2024 10:21
@braydonk braydonk mentioned this pull request May 10, 2024
@ChrsMark ChrsMark force-pushed the merge_cpu_states branch 2 times, most recently from de27ecd to dbd49a4 Compare May 10, 2024 13:13
Comment thread model/registry/system.yaml Outdated
Comment thread model/registry/deprecated/container.yaml
Comment thread model/registry/cpu.yaml Outdated
Comment thread model/registry/deprecated/process.yaml Outdated
Comment thread model/registry/deprecated/system.yaml Outdated
Comment thread model/registry/deprecated/container.yaml Outdated
Comment thread .chloggen/merge_cpu_states.yaml Outdated
@ChrsMark ChrsMark force-pushed the merge_cpu_states branch 2 times, most recently from 57eee6d to beb92b9 Compare May 13, 2024 08:45
Copy link
Copy Markdown
Member

@joaopgrassi joaopgrassi left a comment

Choose a reason for hiding this comment

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

LGTM

I think you need to re-generate the make generate-gh-issue-templates though

@ChrsMark
Copy link
Copy Markdown
Member Author

Thank's @joaopgrassi. For some reason the make generate-gh-issue-templates does not change anything 🤔 .

@ChrsMark ChrsMark force-pushed the merge_cpu_states branch from 848fa37 to a7e9c02 Compare May 16, 2024 13:38
@ChrsMark
Copy link
Copy Markdown
Member Author

@open-telemetry/semconv-system-approvers could you take a look and specifically into the #1026 (comment)? Thank's.

Comment thread docs/attributes-registry/cpu.md Outdated
Comment thread model/registry/deprecated/container.yaml Outdated
Comment thread model/registry/deprecated/process.yaml Outdated
Comment thread model/registry/deprecated/system.yaml Outdated
Comment thread model/registry/cpu.yaml Outdated
Comment thread model/registry/deprecated/container.yaml Outdated
Comment thread model/registry/deprecated/container.yaml Outdated
Comment thread model/registry/deprecated/process.yaml Outdated
Comment thread model/registry/deprecated/process.yaml Outdated
Comment thread model/registry/deprecated/system.yaml Outdated
Comment thread schema-next.yaml Outdated
@trisch-me
Copy link
Copy Markdown
Contributor

You need to regenerate registry to update md files to fix the issue

Signed-off-by: ChrsMark <[email protected]>
Copy link
Copy Markdown
Member

@lmolkova lmolkova left a comment

Choose a reason for hiding this comment

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

Looks good! Just left a few minor comments.

Comment thread model/metrics/system-metrics.yaml Outdated
Comment thread model/metrics/system-metrics.yaml Outdated
Comment thread model/registry/cpu.yaml
Comment thread schema-next.yaml
Comment thread model/metrics/system-metrics.yaml Outdated
ChrsMark and others added 5 commits June 25, 2024 09:54
Co-authored-by: Liudmila Molkova <[email protected]>
Signed-off-by: ChrsMark <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Consider merging *.cpu.state metric attributes

7 participants