-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Metricbeat][Kubernetes Volume] Add pvc reference to distinguish ephe…
…meral from persistent volumes (#38839) * Kubernetes add pvc reference in the kubernetes.volume dataset if present * Reuse field kubernetes.persistentvolumeclaim instead of creating a new one * Add only persistentvolumeclaim name and no namespace (that is redundant with the kubernetes.namespace) * Add test to see if persistentvolumeclaim name is extracted * Add a separate test for pvc * Add changelog entry for the PR * Add the persistentvolume claim field * Run mage update to update the fields * Remove the duplicate definition of the field kubernetes.persistentvolumeclaim.name * Remove newline * Fix key from kubernetes.volume.persistentvolumeclaim.name to kubernetes.persistentvolume * Fix unit test after changing the populated field name * Removed printf function * Remove empty lines added by mistake
- Loading branch information
Showing
5 changed files
with
47 additions
and
15 deletions.
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