Skip to content

Commit

Permalink
Merge pull request #25 from zifter/feature/add-rq-exporter
Browse files Browse the repository at this point in the history
Add rq exporter
  • Loading branch information
zifter authored Jan 17, 2022
2 parents 650c4de + 4b0bfaf commit b7a047b
Show file tree
Hide file tree
Showing 34 changed files with 2,984 additions and 7 deletions.
21 changes: 21 additions & 0 deletions Makefile
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ helm repo add zifter https://github.com/zifter/helm-charts
* [kafka-exporter](charts/kafka-exporter/README.md)
* [clickhouse-exporter](charts/clickhouse-exporter/README.md)
* [zookeeper-exporter](charts/zookeeper-exporter/README.md)
* [rq-exporter](charts/rq-exporter/README.md)
* [tls-secret](charts/tls-secret/README.md)

## List of usefull charts in other repository
Expand Down
4 changes: 2 additions & 2 deletions chart_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ home: str(required=False)
type: str()
version: str()
appVersion: any(str(), num())
description: str(required=False)
description: str(required=True)
keywords: list(str(), required=False)
sources: list(str(), required=False)
maintainers: list(include('maintainer'), required=False)
maintainers: list(include('maintainer'), required=True)
icon: str(required=False)
apiVersion: str(required=False)
engine: str(required=False)
Expand Down
15 changes: 15 additions & 0 deletions charts/rq-exporter/Chart.yaml
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
30 changes: 30 additions & 0 deletions charts/rq-exporter/README.md
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
```
Loading

0 comments on commit b7a047b

Please sign in to comment.