-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from zifter/feature/add-rq-exporter
Add rq exporter
- Loading branch information
Showing
34 changed files
with
2,984 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
setup: | ||
python3 -m pip install yamllint | ||
python3 -m pip install yamale | ||
|
||
test: | ||
./dev/run-tests.sh | ||
|
||
gen-schema: | ||
./dev/gen-values-schema.sh | ||
|
||
lint: | ||
ct lint --all | ||
|
||
run-cluster: | ||
./dev/cluster/run.sh | ||
|
||
sync-cluster: | ||
cd ./dev/cluster/ && helmfile sync | ||
|
||
apply-cluster: | ||
cd ./dev/cluster/ && helmfile apply |
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
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: v2 | ||
name: rq-exporter | ||
description: A Helm chart of rq exporter. Provide prometheus metrics, alerts and dashboard. | ||
type: application | ||
version: 0.1.0 | ||
appVersion: v1.9.2 | ||
icon: https://artifacthub.io/static/media/placeholder_pkg_helm.png | ||
home: https://github.com/zifter/helm-charts | ||
sources: | ||
- https://github.com/zifter/helm-charts/tree/main/charts/rq-exporter | ||
- https://github.com/mdawar/rq-exporter | ||
maintainers: | ||
- name: zifter | ||
email: zifter.ai+github@gmail.com | ||
url: https://github.com/zifter |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# rq exporter | ||
|
||
## Usage | ||
To install rq-exporter you need. | ||
|
||
### Add helm repository | ||
```bash | ||
helm repo add zifter https://zifter.github.io/helm-charts/ | ||
``` | ||
|
||
### Install chart | ||
Be aware, prometheus CRD must be installed before installing this chart. | ||
|
||
Install chart with necessary domains list to specific namespace, where prometheus-operator will be able to discover rules, | ||
service monitor and etc: | ||
```bash | ||
helm install rq-exporter zifter/rq-exporter --namespace monitoring -f values-prod.yaml | ||
``` | ||
|
||
where values-prod.yaml is: | ||
```yaml | ||
# rq to export metrics | ||
rq: | ||
- name: rq | ||
host: localhost | ||
port: 6379 | ||
index: 0 | ||
- name: rq2 | ||
host: second-host | ||
``` |
Oops, something went wrong.