Andrei Kvapil
Andrei Kvapil
Hi @dongjiang1989, The pingmesh-exporter was accepted into the Prometheus community 3 months ago, thanks to this, I discovered it: https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-pingmesh-exporter Therefore, I would like to ask: Is this project intended...
Okay then, I added it as separate `README.en.md` file
Hey we wrote some alerts for fluxcd, which we actively using in [Cozystack](https://github.com/aenix-io/cozystack) project https://github.com/aenix-io/cozystack/blob/cad9cdedf5be97904e778629ccaafb590c9d7d4e/packages/system/monitoring/alerts/flux.yaml
@Kirill-Garbar commented: > Let's discuss whether it's a cron job or not, just that. Personally, I don't like cron jobs even though they are simple
Probably depends on https://github.com/aenix-io/etcd-operator/pull/204
```yaml --- apiVersion: etcd.aenix.io/v1alpha1 kind: EtcdCluster metadata: name: test namespace: test-tls-auth-etcd-cluster spec: options: defrag: schedule: "*/15 * * * *" rule: # TODO: check the common Kubernetes syntax operator: Or|And...
@lllamnyp also sugested to use go templates: ``` rule: {{ and (gt .dbAvailableSize 200*1024*1024) (gt .dbInUsePercent 80) }} ```
```yaml defragJobTerms: - matchExpressions: - key: dbSpaceFree operator: Lt values: 200Mi - key: dbQuotaUsage operator: Gt values: 20% ```
Some logic can be borrowed from talosctl (be aware MPL license is not compatible with Apache2) https://github.com/siderolabs/talos/blob/b86edc6776f77a65d3a254cf0f0d713ce7a9145e/cmd/talosctl/cmd/talos/etcd.go#L1 Or we can sub-license whole plugin under MPL
> 👋 > > Thanks for your PR, the new feature must land in main branch first, then backporting to older stable branches will be done if it satisfies [backport...