|
1 | 1 | # dendrite
|
2 | 2 |
|
3 |
| -   |
| 3 | +   |
4 | 4 | Dendrite Matrix Homeserver
|
5 | 5 |
|
6 | 6 | Status: **NOT PRODUCTION READY**
|
@@ -146,3 +146,35 @@ Create a folder `appservices` and place your configurations in there. The confi
|
146 | 146 | | ingress.tls | list | `[]` | |
|
147 | 147 | | service.type | string | `"ClusterIP"` | |
|
148 | 148 | | service.port | int | `8008` | |
|
| 149 | +| prometheus.servicemonitor.enabled | bool | `false` | Enable ServiceMonitor for Prometheus-Operator for scrape metric-endpoint | |
| 150 | +| prometheus.servicemonitor.labels | object | `{}` | Extra Labels on ServiceMonitor for selector of Prometheus Instance | |
| 151 | +| prometheus.rules.enabled | bool | `false` | Enable PrometheusRules for Prometheus-Operator for setup alerting | |
| 152 | +| prometheus.rules.labels | object | `{}` | Extra Labels on PrometheusRules for selector of Prometheus Instance | |
| 153 | +| prometheus.rules.additionalRules | list | `[]` | additional alertrules (no default alertrules are provided) | |
| 154 | +| grafana.dashboards.enabled | bool | `false` | | |
| 155 | +| grafana.dashboards.labels | object | `{"grafana_dashboard":"1"}` | Extra Labels on ConfigMap for selector of grafana sidecar | |
| 156 | +| grafana.dashboards.annotations | object | `{}` | Extra Annotations on ConfigMap additional config in grafana sidecar | |
| 157 | + |
| 158 | +## Monitoring |
| 159 | + |
| 160 | +[](https://grafana.com/grafana/dashboards/13916-dendrite/) |
| 161 | + |
| 162 | +* Works well with [Prometheus Operator](https://prometheus-operator.dev/) ([Helmchart](https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack)) and their setup of [Grafana](https://grafana.com/grafana/), by enabling the following values: |
| 163 | +```yaml |
| 164 | +prometheus: |
| 165 | + servicemonitor: |
| 166 | + enabled: true |
| 167 | + labels: |
| 168 | + release: "kube-prometheus-stack" |
| 169 | + rules: |
| 170 | + enabled: true # will deploy alert rules |
| 171 | + labels: |
| 172 | + release: "kube-prometheus-stack" |
| 173 | +grafana: |
| 174 | + dashboards: |
| 175 | + enabled: true # will deploy default dashboards |
| 176 | +``` |
| 177 | +PS: The label `release=kube-prometheus-stack` is setup with the helmchart of the Prometheus Operator. For Grafana Dashboards it may be necessary to enable scanning in the correct namespaces (or ALL), enabled by `sidecar.dashboards.searchNamespace` in [Helmchart of grafana](https://artifacthub.io/packages/helm/grafana/grafana) (which is part of PrometheusOperator, so `grafana.sidecar.dashboards.searchNamespace`) |
| 178 | + |
| 179 | +---------------------------------------------- |
| 180 | +Autogenerated from chart metadata using [helm-docs vv1.11.0](https://github.com/norwoodj/helm-docs/releases/vv1.11.0) |
0 commit comments