Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bonddim/monitoring-mixin
Rendered mixins for Grafana and Prometheus
https://github.com/bonddim/monitoring-mixin
azure grafana grafana-dashboards mixin mixins prometheus prometheus-alerts prometheus-rules
Last synced: 25 days ago
JSON representation
Rendered mixins for Grafana and Prometheus
- Host: GitHub
- URL: https://github.com/bonddim/monitoring-mixin
- Owner: bonddim
- License: mit
- Created: 2024-09-05T11:39:38.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-24T05:20:44.000Z (about 1 month ago)
- Last Synced: 2024-09-30T08:02:24.045Z (about 1 month ago)
- Topics: azure, grafana, grafana-dashboards, mixin, mixins, prometheus, prometheus-alerts, prometheus-rules
- Language: Go
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# monitoring-mixin
Rendered mixins for Grafana and Prometheus.
## Overview
This repository contains a set of rendered Jsonnet mixins for:
- Grafana Dashboards
- Prometheus Alert Rules
- Prometheus Recording RulesAll Prometheus rules are normalized, validated, and saved in YAML and JSON formats.
## Configurations
[kubernetes-mixin](https://github.com/kubernetes-monitoring/kubernetes-mixin):
- **azure** - compatible with Azure Managed Prometheus
- **default** - without custom configurations
- **multicluster** - enabled multicluster option## Usage
All ready-to-use files are available under the [docs/](docs) directory of this repository.
### Dashboards
Example configuration for [Grafana Helm Chart](https://github.com/grafana/helm-charts):
```yaml
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: kubernetes
folder: Kubernetes
options:
path: /var/lib/grafana/dashboards/kubernetesdashboards:
kubernetes:
k8s-resources-cluster:
url: https://raw.githubusercontent.com/bonddim/monitoring-mixin/main/docs/azure/dashboards/k8s-resources-cluster.json
k8s-resources-namespace:
url: https://raw.githubusercontent.com/bonddim/monitoring-mixin/main/docs/azure/dashboards/k8s-resources-namespace.json
k8s-resources-node:
url: https://raw.githubusercontent.com/bonddim/monitoring-mixin/main/docs/azure/dashboards/k8s-resources-node.json
k8s-resources-pod:
url: https://raw.githubusercontent.com/bonddim/monitoring-mixin/main/docs/azure/dashboards/k8s-resources-pod.json
k8s-resources-workload:
url: https://raw.githubusercontent.com/bonddim/monitoring-mixin/main/docs/azure/dashboards/k8s-resources-workload.json
```### Prometheus Rules
- **YAML** files for Prometheus instance config
- **JSON** are easier to use in automation scripts## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.