-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dmytro Bondar
committed
Sep 5, 2024
1 parent
6af0179
commit 91813a2
Showing
1 changed file
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,62 @@ | ||
# monitoring-mixins-out | ||
Rendered mixins for Grafana and Prometheus | ||
# 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 Rules | ||
|
||
All 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/kubernetes | ||
|
||
dashboards: | ||
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. |