-
Notifications
You must be signed in to change notification settings - Fork 183
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
feat(otelcol): delete pod annotations #1862
Conversation
Narrow down the metadata regexes to explicitly only match on pod and namespace labels. This prevents pod annotations from being sent to Sumo, as they all start with `pod_annotations_`.
Signed-off-by: Dominik Rosiek <[email protected]>
This PR retrofits upstream PR SumoLogic/sumologic-kubernetes-collection#1862
This PR retrofits upstream PR SumoLogic/sumologic-kubernetes-collection#1862
This PR retrofits upstream PR SumoLogic/sumologic-kubernetes-collection#1862
This PR retrofits upstream PR SumoLogic/sumologic-kubernetes-collection#1862
This PR retrofits upstream PR SumoLogic/sumologic-kubernetes-collection#1862 * docs(k8sprocessor): add exclude to README * feat(k8sprocessor): remove default exclusion rules
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.
@astencel-sumo As open-telemetry/opentelemetry-collector-contrib#10822 has been merged we can proceed with this PR
Are we sure this is still necessary? It looks like we're dropping the annotations for logs here: sumologic-kubernetes-collection/deploy/helm/sumologic/conf/logs/otelcol/config.yaml Line 146 in 061d8f4
That change was made in the following PR: #2251 @sumo-drosiek am I right here? |
Yeah, we can close it then |
This pull request improves on #1803 by deleting the annotation attributes before they reach the exporter. This ensures that the annotations are not sent whatever output format is defined in Sumo Logic exporter.
Note that this change uses a functionality in Otel Contrib that is at the moment of writing not merged yet: open-telemetry/opentelemetry-collector-contrib#5750. This change can only be merged when the upstream change is merged and released.