-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Alert mappings could be organized into CRDs (Custom Resource Definition) manifests, e.g.::
api: ingestion.openrca.io/v1alpha1
kind: AlertMapping
metadata:
name: zabbix-hosts
spec:
source: zabbix
mappings:
- name: "XXX"
source_mapping:
origin: kubernetes
kind: node
properties:
name: host
- name: "YYY"
source_mapping:
origin: kubernetes
kind: node
properties:
name: host Mappings could be organized into categories (nodes, kube-state, etc.):
api: ingestion.openrca.io/v1alpha1
kind: AlertMapping
metadata:
name: prometheus-nodes
spec:
source: proemtheus
mappings:
- name: "XXX"
source_mapping:
origin: kubernetes
kind: node
properties:
name: node
- name: "YYY"
source_mapping:
origin: kubernetes
kind: node
properties:
name: node api: ingestion.openrca.io/v1alpha1
kind: AlertMapping
metadata:
name: prometheus-kube-state
spec:
source: proemtheus
mappings:
- name: "XXX"
source_mapping:
origin: kubernetes
kind: pod
properties:
name: pod
- name: "YYY"
source_mapping:
origin: kubernetes
kind: deployment
properties:
name: deployment Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request