<commit_before>image:
  repository: sapcc/kubernetes-eventexporter
  tag: 0.2.0
  pullPolicy: IfNotPresent

resources:
  requests:
    cpu: 50m
    memory: 20Mi
  limits:
    cpu: 200m
    memory: 100Mi

metrics:
  port: "9102"
  config:
    config.yaml: |-
      metrics:
      - name: volume_mount_error_total
        event_matcher:
        - key: InvolvedObject.Kind
          expr: Pod
        - key: Reason
          expr: FailedAttachVolume
        - key: Type
          expr: Warning
        - key: Source.Component
          expr: attachdetach.*
        labels:
          node: Object.Spec.NodeName
      - name: volume_mount_success_total
        event_matcher:
        - key: InvolvedObject.Kind
          expr: Pod
        - key: Message
          expr: MountVolume.SetUp succeeded for volume .pvc-.*
        - key: Reason
          expr: SuccessfulMountVolume
        labels:
          node: Source.Host<commit_msg>Fix attach volume event export on 1.7, update eventexporter to 0.3.1<commit_after>image:
  repository: sapcc/kubernetes-eventexporter
  tag: 0.3.1
  pullPolicy: IfNotPresent

resources:
  requests:
    cpu: 50m
    memory: 20Mi
  limits:
    cpu: 200m
    memory: 100Mi

metrics:
  port: "9102"
  config:
    config.yaml: |-
      metrics:
      - name: volume_mount_error_total
        event_matcher:
        - key: InvolvedObject.Kind
          expr: Pod
        - key: Reason
          expr: (FailedAttachVolume|FailedMount)
        - key: Type
          expr: Warning
        - key: Source.Component
          expr: attachdetach.*
        labels:
          node: Object.Spec.NodeName
      - name: volume_mount_success_total
        event_matcher:
        - key: InvolvedObject.Kind
          expr: Pod
        - key: Message
          expr: MountVolume.SetUp succeeded for volume .pvc-.*
        - key: Reason
          expr: SuccessfulMountVolume
        labels:
          node: Source.Host
{'fraction_non_alphanumeric': 0.07852314092563703, 'fraction_numerical': 0.0202808112324493, 'mean_word_length': 1.8128654970760234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1368791', 'n_tokens_mistral': 618, 'n_tokens_neox': 572, 'n_words': 145}