KusionStack / konfig

Shared repository of application models and components, and CI suite for GitOps workflows
Apache License 2.0
27 stars 32 forks source link

use KCL generate alert rules like jsonnet #45

Closed howieyuen closed 1 year ago

howieyuen commented 2 years ago

ref: https://monitoring.mixins.dev/kubernetes/#kubernetes-apps

TODO list of writing PrometheusRules in KCL:

  1. [x] generate prometheus models a. Prometheus b. PrometheusRule c. Alertmanager d. AlertmanagerConfig e. ServiceMonitor f. PodMonitor
  2. [x] a project of prometheus install
  3. [x] example rules and alert
  4. [x] doc: install alertmanager cluster, integrating with prometheus
  5. [x] doc: recording rules and alert rules
howieyuen commented 2 years ago

https://github.com/KusionStack/konfig/pull/43 b. PrometheusRule e. ServiceMonitor f. PodMonitor

howieyuen commented 2 years ago

51

a. Prometheus

howieyuen commented 2 years ago

53

c. Alertmanager d. AlertmanagerConfig

howieyuen commented 2 years ago

54, a project of prometheus install

howieyuen commented 1 year ago

55, example rules and alert

howieyuen commented 1 year ago

https://github.com/KusionStack/kusionstack.io/pull/166 doc: install alertmanager cluster, integrating with prometheus

howieyuen commented 1 year ago

https://github.com/KusionStack/kusionstack.io/pull/168 doc: recording rules and alert rules

howieyuen commented 1 year ago

mission complete