[k8s] add k8s.hpa.scaletargetref resource attributes#2180
Merged
jsuereth merged 5 commits intoopen-telemetry:mainfrom Jun 6, 2025
Merged
[k8s] add k8s.hpa.scaletargetref resource attributes#2180jsuereth merged 5 commits intoopen-telemetry:mainfrom
jsuereth merged 5 commits intoopen-telemetry:mainfrom
Conversation
dmitryax
approved these changes
Apr 25, 2025
ChrsMark
approved these changes
Apr 25, 2025
trask
reviewed
Apr 25, 2025
atoulme
pushed a commit
to open-telemetry/opentelemetry-collector-contrib
that referenced
this pull request
May 14, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Adds new resource attributes to `k8s.hpa`. These attributes track the target resource a given HPA is configured to scale. The attributes are - `k8s.hpa.scaletargetref.kind`, `k8s.hpa.scaletargetref.name`, and `k8s.hpa.scaletargetref.apiversion`. These attributes are disabled by default. PR for semantic-conventions is available [here](open-telemetry/semantic-conventions#2180). <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes #38768 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests Tested manually in a k8s cluster <!--Describe the documentation added.--> #### Documentation Documentation updated with new attribute names <!--Please delete paragraphs that you did not use before submitting.-->
seongpil0948
pushed a commit
to seongpil0948/opentelemetry-collector-contrib
that referenced
this pull request
May 16, 2025
) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Adds new resource attributes to `k8s.hpa`. These attributes track the target resource a given HPA is configured to scale. The attributes are - `k8s.hpa.scaletargetref.kind`, `k8s.hpa.scaletargetref.name`, and `k8s.hpa.scaletargetref.apiversion`. These attributes are disabled by default. PR for semantic-conventions is available [here](open-telemetry/semantic-conventions#2180). <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#38768 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests Tested manually in a k8s cluster <!--Describe the documentation added.--> #### Documentation Documentation updated with new attribute names <!--Please delete paragraphs that you did not use before submitting.-->
3 tasks
johnleslie
pushed a commit
to johnleslie/opentelemetry-collector-contrib
that referenced
this pull request
May 23, 2025
) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Adds new resource attributes to `k8s.hpa`. These attributes track the target resource a given HPA is configured to scale. The attributes are - `k8s.hpa.scaletargetref.kind`, `k8s.hpa.scaletargetref.name`, and `k8s.hpa.scaletargetref.apiversion`. These attributes are disabled by default. PR for semantic-conventions is available [here](open-telemetry/semantic-conventions#2180). <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#38768 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests Tested manually in a k8s cluster <!--Describe the documentation added.--> #### Documentation Documentation updated with new attribute names <!--Please delete paragraphs that you did not use before submitting.-->
johnleslie
pushed a commit
to johnleslie/opentelemetry-collector-contrib
that referenced
this pull request
May 23, 2025
) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Adds new resource attributes to `k8s.hpa`. These attributes track the target resource a given HPA is configured to scale. The attributes are - `k8s.hpa.scaletargetref.kind`, `k8s.hpa.scaletargetref.name`, and `k8s.hpa.scaletargetref.apiversion`. These attributes are disabled by default. PR for semantic-conventions is available [here](open-telemetry/semantic-conventions#2180). <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#38768 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests Tested manually in a k8s cluster <!--Describe the documentation added.--> #### Documentation Documentation updated with new attribute names <!--Please delete paragraphs that you did not use before submitting.-->
dragonlord93
pushed a commit
to dragonlord93/opentelemetry-collector-contrib
that referenced
this pull request
May 23, 2025
) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Adds new resource attributes to `k8s.hpa`. These attributes track the target resource a given HPA is configured to scale. The attributes are - `k8s.hpa.scaletargetref.kind`, `k8s.hpa.scaletargetref.name`, and `k8s.hpa.scaletargetref.apiversion`. These attributes are disabled by default. PR for semantic-conventions is available [here](open-telemetry/semantic-conventions#2180). <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#38768 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests Tested manually in a k8s cluster <!--Describe the documentation added.--> #### Documentation Documentation updated with new attribute names <!--Please delete paragraphs that you did not use before submitting.-->
lmolkova
reviewed
May 29, 2025
lmolkova
approved these changes
May 29, 2025
joaopgrassi
approved these changes
Jun 4, 2025
jsuereth
approved these changes
Jun 6, 2025
thompson-tomo
pushed a commit
to thompson-tomo/semantic-conventions
that referenced
this pull request
Jun 16, 2025
dd-jasminesun
pushed a commit
to DataDog/opentelemetry-collector-contrib
that referenced
this pull request
Jun 23, 2025
) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Adds new resource attributes to `k8s.hpa`. These attributes track the target resource a given HPA is configured to scale. The attributes are - `k8s.hpa.scaletargetref.kind`, `k8s.hpa.scaletargetref.name`, and `k8s.hpa.scaletargetref.apiversion`. These attributes are disabled by default. PR for semantic-conventions is available [here](open-telemetry/semantic-conventions#2180). <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#38768 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit tests Tested manually in a k8s cluster <!--Describe the documentation added.--> #### Documentation Documentation updated with new attribute names <!--Please delete paragraphs that you did not use before submitting.-->
jherbage
pushed a commit
to jherbage/semantic-conventions
that referenced
this pull request
Jul 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2008
Changes
Please provide a brief description of the changes here.
Intorduces new attributes for the
k8s.hparesource to capture thescaleTargetReffields.Merge requirement checklist
[chore]