An open API service indexing awesome lists of open source software.

https://github.com/byndyusoft/devops-cue-prometheus-module

Module for create slo and alerts. Usage sloth and cue
https://github.com/byndyusoft/devops-cue-prometheus-module

cue cuelang deckhouse prometheus sloth

Last synced: 4 months ago
JSON representation

Module for create slo and alerts. Usage sloth and cue

Awesome Lists containing this project

README

          

# Module for create customprometheusrule with cue

## Example
See ./values/teamA

## Usage
Clone repo

Write rules with cuelang and sloth

For sloth specs
```bash
cue cmd -t env=${ENV} sloth
```
For alers(in proggress)
```bash
cue cmd -t env=${ENV} alerts
```

Apply manifest on cluster
```bash
kubectl apply -f ./_gen/
```

## TODO
* Generate alerts
* Pretty print all rules
* Full guide