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

fix image filter to regex match the tag #2357

Merged
merged 1 commit into from
Dec 13, 2022
Merged

fix image filter to regex match the tag #2357

merged 1 commit into from
Dec 13, 2022

Conversation

dloucasfx
Copy link
Contributor

OTEL agent task is not filtering out OTEL container metrics when using this example https://github.com/signalfx/splunk-otel-collector/blame/main/deployments/fargate/README.md#L35
the string we are trying to match against is

quay.io/signalfx/splunk-otel-collector:0.36.0

based on https://github.com/signalfx/signalfx-agent/blob/c295133b4a52b2fff071c8070536183a48e403fc/pkg/utils/filter/overridable.go#L14 and running it through the unit test, a * is needed to get a match.

"value": "[\"quay.io/signalfx/splunk-otel-collector:*\"]"

Signed-off-by: Dani Louca dlouca@splunk.com

Signed-off-by: Dani Louca <dlouca@splunk.com>
@dloucasfx dloucasfx requested review from a team as code owners December 12, 2022 21:08
@jvoravong jvoravong merged commit 3591ddc into main Dec 13, 2022
@delete-merged-branch delete-merged-branch bot deleted the swat-5311 branch December 13, 2022 23:16
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.

None yet

4 participants