-
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
Ensure metadata updates don't replace existing pod metrics #7573
Conversation
// specific language governing permissions and limitations | ||
// under the License. | ||
|
||
package add_kubernetes_metadata |
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.
don't use an underscore in package name
414e5e1
to
c1999dc
Compare
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.
Could you add a changelog entry?
Probably you need to rebase on master to also fix the generator header error. |
Before things change, `add_kubernetes_metadata` would replace everything under `kubernetes.pod` when enriching events. This is not what you want, especially if you are using it in conjunction with the Kubernetes module, where you could smash pod metrics when enriching.
046f58a
to
e871906
Compare
rebased, tests should pass now |
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.
WFG
) * Ensure metadata updates don't replace existing pod metrics Before things change, `add_kubernetes_metadata` would replace everything under `kubernetes.pod` when enriching events. This is not what you want, especially if you are using it in conjunction with the Kubernetes module, where you could smash pod metrics when enriching. * Update CHANGELOG.asciidoc (cherry picked from commit 3297924)
…ing pod metrics (#7609) Ensure metadata updates don't replace existing pod metrics Before things change, `add_kubernetes_metadata` would replace everything under `kubernetes.pod` when enriching events. This is not what you want, especially if you are using it in conjunction with the Kubernetes module, where you could smash pod metrics when enriching.
…e existing pod metrics (elastic#7609) Ensure metadata updates don't replace existing pod metrics Before things change, `add_kubernetes_metadata` would replace everything under `kubernetes.pod` when enriching events. This is not what you want, especially if you are using it in conjunction with the Kubernetes module, where you could smash pod metrics when enriching.
Before things change,
add_kubernetes_metadata
would replace everythingunder
kubernetes.pod
when enriching events.This is not what you want, especially if you are using it in conjunction
with the Kubernetes module, where you could smash pod metrics when
enriching.