Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adinhodovic/argo-cd-mixin
Monitoring mixin for ArgoCD. A set of Grafana dashboards and Prometheus rules for ArgoCD.
https://github.com/adinhodovic/argo-cd-mixin
alert argo-cd grafana grafana-dashboard monitoring monitoring-mixin monitoring-mixins prometheus
Last synced: 3 months ago
JSON representation
Monitoring mixin for ArgoCD. A set of Grafana dashboards and Prometheus rules for ArgoCD.
- Host: GitHub
- URL: https://github.com/adinhodovic/argo-cd-mixin
- Owner: adinhodovic
- Created: 2023-11-05T14:03:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-11T10:15:44.000Z (6 months ago)
- Last Synced: 2024-10-12T07:27:05.276Z (3 months ago)
- Topics: alert, argo-cd, grafana, grafana-dashboard, monitoring, monitoring-mixin, monitoring-mixins, prometheus
- Language: Jsonnet
- Homepage:
- Size: 2.59 MB
- Stars: 40
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-argo - argo-cd-mixin
README
# Prometheus Monitoring Mixin for ArgoCD
A set of Grafana dashboards and Prometheus alerts for ArgoCD.
## How to use
This mixin is designed to be vendored into the repo with your infrastructure config.
To do this, use [jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler):You then have three options for deploying your dashboards
1. Generate the config files and deploy them yourself
2. Use jsonnet to deploy this mixin along with Prometheus and Grafana
3. Use prometheus-operator to deploy this mixinOr import the dashboard using json in `./dashboards_out`, alternatively import them from the `Grafana.com` dashboard page.
## Generate config files
You can manually generate the alerts, dashboards and rules files, but first you
must install some tools:```sh
go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
brew install jsonnet
```Then, grab the mixin and its dependencies:
```sh
git clone https://github.com/adinhodovic/argo-cd-mixin
cd argo-cd-mixin
jb install
```Finally, build the mixin:
```sh
make prometheus_alerts.yaml
make dashboards_out
```The `prometheus_alerts.yaml` file then need to passed
to your Prometheus server, and the files in `dashboards_out` need to be imported
into you Grafana server. The exact details will depending on how you deploy your
monitoring stack.## Alerts
The mixin follows the [monitoring-mixins guidelines](https://github.com/monitoring-mixins/docs#guidelines-for-alert-names-labels-and-annotations) for alerts.
## Preview
### Operational Dashboard
![argo-cd-operational-overview](images/argo-cd-operational-overview.png)
### Application Dashboard
![argo-cd-application-overview](images/argo-cd-application-overview.png)
### Notification Dashboard
![argo-cd-notifications-overview](images/argo-cd-notifications-overview.png)