Skip to content

[kubernetes ] Add missing dimention fields - #4144

Merged
tetianakravchenko merged 2 commits into
elastic:mainfrom
tetianakravchenko:k8s-job-add-dimensions
Sep 7, 2022
Merged

tetianakravchenko merged 2 commits into
elastic:mainfrom
tetianakravchenko:k8s-job-add-dimensions

Conversation

@tetianakravchenko

Copy link
Copy Markdown
Contributor

Signed-off-by: Tetiana Kravchenko tetiana.kravchenko@elastic.co

What does this PR do?

When working on another PR - #4095 (comment), I've noticed that some dimension fields are missing - mainly for namespace field - at some point namespace related PR was reverted and all dimension fields were removed - #2209.
Also some fields had typos

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
@tetianakravchenko tetianakravchenko added the enhancement New feature or request label Sep 6, 2022
@tetianakravchenko
tetianakravchenko requested a review from a team as a code owner September 6, 2022 14:10
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
@elasticmachine

elasticmachine commented Sep 6, 2022 •

Copy link
Copy Markdown

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-09-06T14:10:32.105+0000

  • Duration: 32 min 29 sec

Test stats 🧪

Test Results
Failed 0
Passed 90
Skipped 0
Total 90

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (0/0) 💚
Files 100.0% (0/0) 💚 2.89
Classes 100.0% (0/0) 💚 2.89
Methods 94.872% (74/78) 👍 5.261
Lines 100.0% (0/0) 💚 8.249
Conditionals 100.0% (0/0) 💚

@jsoriano jsoriano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think that at some point we thought that the rest of dimensions were enough to identify resources, specially the ones that have uids, as they should be unique, at least per cluster. But I guess it doesn't do any harm to add this one more dimension. It is true that there are cases where we may not have uids.

@tetianakravchenko
tetianakravchenko merged commit 798bd85 into elastic:main Sep 7, 2022
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
* add and fix dimention fields

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>

* fix pr number; remove dimension for container.name

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>

Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants