Skip to content

Comments

Always collect collector configmap#1275

Merged
jakub-racek-swi merged 9 commits intomasterfrom
Dont-filter-collector-manifest
Feb 18, 2026
Merged

Always collect collector configmap#1275
jakub-racek-swi merged 9 commits intomasterfrom
Dont-filter-collector-manifest

Conversation

@jakub-racek-swi
Copy link
Contributor

@jakub-racek-swi jakub-racek-swi commented Feb 12, 2026

The collector widget doesn't work when the manifest file with collector config is filtered out. This patch replaces the namespace filter in the manifest pipeline with one that will always collect the collector configmap, even when the namespace should be filtered out.

The configmap is identified by the following attributes:
k8s.configmap.labels.swo.cloud.solarwinds.com/config-type
k8s.configmap.annotations.swo.cloud.solarwinds.com/cluster-uid

@jakub-racek-swi jakub-racek-swi marked this pull request as ready for review February 12, 2026 14:21
@jakub-racek-swi jakub-racek-swi requested a review from a team as a code owner February 12, 2026 14:21
- IsMatch(resource.attributes["k8s.namespace.name"], "^release-namespace$")
filter/namespaces_manifests:
logs:
log_record:
Copy link
Contributor

Choose a reason for hiding this comment

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

This will not exclude anything that is in the same namespace as the k8s collector. The other configurations collect only the config map.

@jakub-racek-swi jakub-racek-swi merged commit 65dfd3d into master Feb 18, 2026
18 checks passed
@jakub-racek-swi jakub-racek-swi deleted the Dont-filter-collector-manifest branch February 18, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants