Skip to content

feat: add support for spam filters v1alpha2#1044

Draft
mmanciop wants to merge 1 commit into
mainfrom
spam-filters-crd-v2
Draft

feat: add support for spam filters v1alpha2#1044
mmanciop wants to merge 1 commit into
mainfrom
spam-filters-crd-v2

Conversation

@mmanciop

Copy link
Copy Markdown
Member

Add support for the new CRD version, with context: <logs|spans|datapoints|web_events> instead of contexts.

NOTE: We have been shipping questionable apiVersions, using operator.dash0.com/v1alpha1 instead of v1alpha1 the backend expects. This is something we may need to revisit, as the CRDs we get from the UI look like:

apiVersion: v1alpha2 # <-- No `operator.dash0.com/` prefix!
kind: Dash0SpamFilter
metadata:
  name: ""
  labels:
    dash0.com/id: bac4f112-f0d1-40fe-b84f-797f5d6637fc
    dash0.com/source: ui
spec:
  context: log
  filter:
    - key: k8s.cluster.name
      operator: is_one_of
      values:
        - production-eu-central-1-regional
    - key: k8s.pod.name
      operator: starts_with
      value: kube-proxy

@mmanciop mmanciop requested a review from a team as a code owner May 18, 2026 16:38
@mmanciop mmanciop marked this pull request as draft May 18, 2026 16:38
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant