<commit_before>- name: backup-v2.alerts
  rules:
  - alert: {{ include "alerts.service" . | title }}MariaDatabaseFullBackupMissing
    expr: count(maria_backup_status{kind="full_backup"} == 0) by (release) == 0
    for: 15m
    labels:
      context: "{{ $labels.release }}"
      service: {{ include "alerts.service" . }}
      severity: warning
      tier: {{ required ".Values.alerts.tier missing" .Values.alerts.tier }}
    annotations:
      description: {{ include "fullName" . }} full backup missing. Please check the backup container.
      summary: {{ include "fullName" . }} full backup missing

  - alert: {{ include "alerts.service" . | title }}MariaDatabaseIncBackupMissing
    expr: count(maria_backup_status{kind="inc_backup"} == 0) by (release) == 0
    for: {{ .Values.backup_v2.incremental_backup_interval_in_minutes}}m
    labels:
      context: "{{ $labels.release }}"
      service: {{ include "alerts.service" . }}
      severity: warning
      tier: {{ required ".Values.alerts.tier missing" .Values.alerts.tier }}
    annotations:
      description: {{ include "fullName" . }} incremental backup missing. Please check the backup container.
      summary: {{ include "fullName" . }} incremental backup missing

  - alert: {{ include "alerts.service" . | title }}MariaDatabaseFullBackupStorageError
    expr: count(maria_backup_status{kind="full_backup"} == 0) by (release, storage)
    for: 15m
    labels:
      context: "{{ $labels.release }}"
      service: {{ include "alerts.service" . }}
      severity: info
      tier: {{ required ".Values.alerts.tier missing" .Values.alerts.tier }}
    annotations:
      description: {{ include "fullName" . }} full backup storage error. Please check the backup container.
      summary: {{ include "fullName" . }} backup storage error

  - alert: {{ include "alerts.service" . | title }}MariaDatabaseIncBackupStorageError
    expr: count(maria_backup_status{kind="inc_backup"} == 0) by (release, storage)
    for: {{ .Values.backup_v2.incremental_backup_interval_in_minutes}}m
    labels:
      context: "{{ $labels.release }}"
      service: {{ include "alerts.service" . }}
      severity: info
      tier: {{ required ".Values.alerts.tier missing" .Values.alerts.tier }}
    annotations:
      description: {{ include "fullName" . }} incremental backup storage error. Please check the backup container.
      summary: {{ include "fullName" . }} incremental backup storage error<commit_msg>Update _backup-v2.alerts.tpl<commit_after>- name: backup-v2.alerts
  rules:
  - alert: {{ include "alerts.service" . | title }}MariaDatabaseFullBackupMissing
    expr: count(maria_backup_status{kind="full_backup"} == 0) by (release) == 0
    for: 15m
    labels:
      context: "{{ .Release.Name }}"
      service: {{ include "alerts.service" . }}
      severity: warning
      tier: {{ required ".Values.alerts.tier missing" .Values.alerts.tier }}
    annotations:
      description: {{ include "fullName" . }} full backup missing. Please check the backup container.
      summary: {{ include "fullName" . }} full backup missing

  - alert: {{ include "alerts.service" . | title }}MariaDatabaseIncBackupMissing
    expr: count(maria_backup_status{kind="inc_backup"} == 0) by (release) == 0
    for: {{ .Values.backup_v2.incremental_backup_interval_in_minutes}}m
    labels:
      context: "{{ .Release.Name }}"
      service: {{ include "alerts.service" . }}
      severity: warning
      tier: {{ required ".Values.alerts.tier missing" .Values.alerts.tier }}
    annotations:
      description: {{ include "fullName" . }} incremental backup missing. Please check the backup container.
      summary: {{ include "fullName" . }} incremental backup missing

  - alert: {{ include "alerts.service" . | title }}MariaDatabaseFullBackupStorageError
    expr: count(maria_backup_status{kind="full_backup"} == 0) by (release, storage)
    for: 15m
    labels:
      context: "{{ .Release.Name }}"
      service: {{ include "alerts.service" . }}
      severity: info
      tier: {{ required ".Values.alerts.tier missing" .Values.alerts.tier }}
    annotations:
      description: {{ include "fullName" . }} full backup storage error. Please check the backup container.
      summary: {{ include "fullName" . }} backup storage error

  - alert: {{ include "alerts.service" . | title }}MariaDatabaseIncBackupStorageError
    expr: count(maria_backup_status{kind="inc_backup"} == 0) by (release, storage)
    for: {{ .Values.backup_v2.incremental_backup_interval_in_minutes}}m
    labels:
      context: "{{ .Release.Name }}"
      service: {{ include "alerts.service" . }}
      severity: info
      tier: {{ required ".Values.alerts.tier missing" .Values.alerts.tier }}
    annotations:
      description: {{ include "fullName" . }} incremental backup storage error. Please check the backup container.
      summary: {{ include "fullName" . }} incremental backup storage error
{'fraction_non_alphanumeric': 0.1353764968540694, 'fraction_numerical': 0.005480008118530546, 'mean_word_length': 3.4276729559748427, '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': '5522172', 'n_tokens_mistral': 1467, 'n_tokens_neox': 1395, 'n_words': 366}