Skip to content

Sources container_id tag from kubernetes meta location#67

Merged
lukesteensen merged 1 commit into
DataDog:masterfrom
rlafferty:rlafferty/source-k8s-container-id-from-k8s-meta
Jul 10, 2024
Merged

Sources container_id tag from kubernetes meta location#67
lukesteensen merged 1 commit into
DataDog:masterfrom
rlafferty:rlafferty/source-k8s-container-id-from-k8s-meta

Conversation

@rlafferty
Copy link
Copy Markdown

What does this PR do?

Looks to resolve #66

Sources the container_id tag from the default location the kubernetes input filter places the container_id attribute (kubernetes.docker_id).

Motivation

What inspired you to submit this pull request?

This will allow drillthrough from the kubernetes dashboard views in datadog (at the container level) to be able to easily find logs as its filtering/searching based on container_id. This is useful for pods that have multiple containers and you'd like it filtered for a specific container.

Additional Notes

Anything else we should know when reviewing?

@rlafferty rlafferty requested a review from a team June 25, 2024 14:08
Copy link
Copy Markdown
Contributor

@lukesteensen lukesteensen left a comment

Choose a reason for hiding this comment

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

This looks reasonable to me. Thanks for the contribution @rlafferty!

@rlafferty
Copy link
Copy Markdown
Author

This looks reasonable to me. Thanks for the contribution @rlafferty!

Awesome @lukesteensen - any idea if it will make it into the next release?

@lukesteensen
Copy link
Copy Markdown
Contributor

@rlafferty Yes, this will go into the next release. I am working on getting a few things sorted out internally and then will start the release process. Hopefully later this week.

@lukesteensen lukesteensen merged commit f29cf85 into DataDog:master Jul 10, 2024
lukesteensen added a commit that referenced this pull request Jul 13, 2024
Signed-off-by: Luke Steensen <luke.steensen@gmail.com>
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.

container_id tag not pulling from kubernetes meta location

2 participants