https://github.com/osism/kolla-operations
Repository for Grafana/Kibana dashboards and Prometheus alerting rules
https://github.com/osism/kolla-operations
openstack openstack-kolla
Last synced: 9 months ago
JSON representation
Repository for Grafana/Kibana dashboards and Prometheus alerting rules
- Host: GitHub
- URL: https://github.com/osism/kolla-operations
- Owner: osism
- Created: 2021-07-26T12:29:37.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-07T18:21:07.000Z (about 1 year ago)
- Last Synced: 2025-04-22T10:37:50.131Z (about 1 year ago)
- Topics: openstack, openstack-kolla
- Language: Python
- Homepage: https://www.osism.tech
- Size: 437 KB
- Stars: 9
- Watchers: 4
- Forks: 12
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kolla-operations
Repository for Grafana dashboards and Prometheus alerting rules.
For use with the Prometheus exporters from Kolla.
## Usage
While it is possible to directly place `.rules` files into the `prometheus/` folder and grafana dashboards into `grafana/dashboards` or a subfolder thereof, use of [monitoring-mixins](https://monitoring.mixins.dev) is encouraged.
### Build the jsonnet container
Build the `mixin` container to manage mixins
```
podman build -t mixins .src
```
### Building mixins
[jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler) is used to fetch mixins and their dependencies from upstream.
* Install mixin dependencies
```
podman run -it -v .:/srv localhost/mixins:latest jb install
```
* Build alerts, rules and dashboards
```
podman run -it -v .:/srv localhost/mixins:latest
```
* Check all changes into git, including the generated alerts, rules and dashboards
### Adding new mixins
* Add any new upstream mixins to `.src/jsonnetfile.json
* Add a local libsonnet for any new mixins in `.src/mixins/$DASHBOARDSUBFOLDER/$NAME.libsonnet
* Apply any [customizations](https://monitoring.mixins.dev/#customising-the-mixin) to the local `$NAME.libsonnet`
* [Build mixins](#building-mixins)
* Check all changes into git, including the `.src/jsonnetfile.lock.json`
### Updating mixins
* Update the jsonnet-bundler dependencies in `.src/jsonnetfile.lock.json
```
podman run -it -v .:/srv localhost/mixins:latest jb update
```
* Check all changes into git, including the `.src/jsonnetfile.lock.json`