-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Metricbeat][Kubernetes Volume] Add pvc reference to distinguish ephemeral from persistent volumes #38839
Merged
MichaelKatsoulis
merged 19 commits into
elastic:main
from
herrBez:kubernetes-pvc-volume
May 16, 2024
Merged
[Metricbeat][Kubernetes Volume] Add pvc reference to distinguish ephemeral from persistent volumes #38839
Changes from 12 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5b4a487
Kubernetes add pvc reference in the kubernetes.volume dataset if present
herrBez ede64ae
Reuse field kubernetes.persistentvolumeclaim instead of creating a ne…
herrBez 5026f50
Add only persistentvolumeclaim name and no namespace (that is redunda…
herrBez 375e742
Merge branch 'elastic:main' into kubernetes-pvc-volume
herrBez b0dd8a4
Add test to see if persistentvolumeclaim name is extracted
herrBez d5cfb1f
Add a separate test for pvc
herrBez e1ba07b
Merge branch 'main' into kubernetes-pvc-volume
herrBez 0f78c41
Add changelog entry for the PR
herrBez 9a0cf91
Add the persistentvolume claim field
herrBez 698eb17
Run mage update to update the fields
herrBez 39d255e
Remove the duplicate definition of the field kubernetes.persistentvol…
herrBez 8a6eeff
Remove newline
herrBez a8b3092
Fix key from kubernetes.volume.persistentvolumeclaim.name to kubernet…
herrBez d206ac5
Merge branch 'main' into kubernetes-pvc-volume
herrBez 9e9a600
Merge branch 'main' into kubernetes-pvc-volume
herrBez cec10b2
Fix unit test after changing the populated field name
herrBez 14cff40
Merge branch 'kubernetes-pvc-volume' of github.com:herrBez/beats into…
herrBez ef19ff0
Removed printf function
herrBez 835d991
Remove empty lines added by mistake
herrBez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the feeling that this way the field that will be generated will be
kubernetes.volume.persistentvolumeclaim.name
. Is that what you want?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, great static analysis :D.. Indeed, its creating the field you mention. I actually want to reuse the field
kubernetes.persistentvolumeclaim.name
to allow correlation, but I am honestly a little bit lost.After some thinking I tried with:
But it does not seem to work 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, the line I wrote in the comment is correct. For some reasons I were still using the old binary 🤦
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had the feeling 😂