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

[kubernetes] remove overlapping field in state_job data_stream #4095

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

tetianakravchenko
Copy link
Contributor

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

What does this PR do?

remove overlapping fields in state_job data_stream, that causes some inconsistency (like mentioned here)

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 requested a review from a team as a code owner August 30, 2022 08:59
Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
@@ -80,6 +80,7 @@
Kubernetes statefulset name

- name: job.name
dimension: true
Copy link
Contributor

Choose a reason for hiding this comment

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

Why only in this field?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it is to merge job.name field definition with the definition I've removed:

- name: kubernetes.job
  type: group
  fields:
    - name: name
      dimension: true
      type: keyword
      description: >
        The name of the job resource

@@ -80,6 +80,7 @@
Kubernetes statefulset name

- name: job.name
dimension: true
Copy link
Contributor

Choose a reason for hiding this comment

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

it's interesting that we decided to add those kubernetes fields to base-fields. I thought we only had data_stream and @timestamp in the base-fields.yml and keep all the others in fields.yml

@elasticmachine
Copy link

elasticmachine commented Aug 30, 2022

💚 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-08-30T09:00:24.995+0000

  • Duration: 34 min 53 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

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (0/0) 💚
Files 100.0% (0/0) 💚 2.809
Classes 100.0% (0/0) 💚 2.809
Methods 94.872% (74/78) 👍 5.474
Lines 100.0% (0/0) 💚 9.072
Conditionals 100.0% (0/0) 💚

@tetianakravchenko tetianakravchenko merged commit 0bf11fd into elastic:main Aug 30, 2022
@tetianakravchenko tetianakravchenko deleted the state-job-doc branch August 30, 2022 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants