splunk / splunk-connect-for-kubernetes

Helm charts associated with kubernetes plug-ins
Apache License 2.0
344 stars 270 forks source link

develop: Enable namespace labels propagation #824

Closed fmesen closed 1 year ago

fmesen commented 1 year ago

Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

These changes allow to enable the propagation of namespace labels into pod logs.

Types of changes

What types of changes does your code introduce? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply.

hvaghani221 commented 1 year ago

Hey @fmesen, Splunk will very soon deprecate Splunk Connect for Kubernetes and we recommend moving to Splunk OpenTelemetry Collector for Kubernetes which already solves the namespace labels propagation. You can follow migration guide.

Splunk OpenTelemetry Collector for Kubernetes already supports namespace label propagation with additional feature like regex matching. Ref: https://github.com/signalfx/splunk-otel-collector-chart/blob/f4cf82bedf200982040e0bb367d58261662b2a2a/helm-charts/splunk-otel-collector/values.yaml#L199-L224