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

Add the ability to add namespace metadata, labels and annotations to k8s-tagger processor #3430

Closed
chaitanyaphalak opened this issue May 19, 2021 · 1 comment

Comments

@chaitanyaphalak
Copy link
Contributor

Is your feature request related to a problem? Please describe.
We need a feature to add namespace-related metadata, labels, and annotations to our logs. The current feature set offered by the k8s-tagger processor only supports adding of pod-related metadata, labels, and annotations.

Describe the solution you'd like
It would be awesome if K8s tagger could add functionality to add namespace-related metadata, labels, and annotations to logs. The config that we think would work for this is as follows:

Screen Shot 2021-05-19 at 9 36 31 AM

We have a PR with an implementation for the feature - #3384

Describe alternatives you've considered
No other alternatives are currently possible for doing this with the open telemetry collector(As far as we looked at the available options)
Additional context
We faced this issue while trying to use namespace labels and annotations with logs. The following issue shows how we tried to use it.
#3031

tigrannajaryan pushed a commit that referenced this issue Jun 15, 2021
Add feature to fetch namespace metadata, labels and annotations

**Link to tracking Issue:** Feature request - #3430 and use-case - #3031
@chaitanyaphalak
Copy link
Contributor Author

Closed as part of #3384

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

No branches or pull requests

1 participant