Skip to content

Commit 3aaed58

Browse files
feat(pyrra): add Grafana dashboards (#161)
Signed-off-by: Sebastian Gaiser <sebastiangaiser@users.noreply.github.com>
1 parent 0ef0e04 commit 3aaed58

File tree

8 files changed

+1145
-2
lines changed

8 files changed

+1145
-2
lines changed

charts/pyrra/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type: application
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
1818

19-
version: 0.12.3
19+
version: 0.13.0
2020

2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to

charts/pyrra/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pyrra
22

3-
![Version: 0.12.3](https://img.shields.io/badge/Version-0.12.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.7.5](https://img.shields.io/badge/AppVersion-v0.7.5-informational?style=flat-square)
3+
![Version: 0.13.0](https://img.shields.io/badge/Version-0.13.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.7.5](https://img.shields.io/badge/AppVersion-v0.7.5-informational?style=flat-square)
44

55
SLO manager and alert generator
66

@@ -12,11 +12,21 @@ Additionaly, you (most likely) will need to specify prometheusExternalUrl with U
1212
Pyrra can be configured to validate SLOs and SLO groups using a webhook admission controller. This is an optional feature that can be enabled by setting the `validatingWebhookConfiguration.enabled` value to `true`. The webhook admission controller will validate SLOs when they are created or updated.
1313
If the SLO object is invalid, the admission controller will reject the request and provide a reason for the failure. This requires cert-manager to be installed in the cluster. If cert-manager is not installed, the webhook admission controller will not be created.
1414

15+
## Grafana dashboards
16+
Pyrra provides Grafana dashboards additionally to it's own UI.
17+
The dashboards can be deployed using a ConfigMap and get's automatically [reloaded by a Grafana sidecar](https://github.com/grafana/helm-charts/tree/main/charts/grafana#sidecar-for-dashboards).
18+
1519
## Values
1620

1721
| Key | Type | Default | Description |
1822
|-----|------|---------|-------------|
1923
| additionalLabels | object | `{}` | |
24+
| dashboards.annotations | object | `{}` | |
25+
| dashboards.enabled | bool | `false` | enables Grafana dashboards being deployed via configmap |
26+
| dashboards.extraLabels | object | `{}` | |
27+
| dashboards.label | string | `"grafana_dashboard"` | default value from the Grafana chart |
28+
| dashboards.labelValue | string | `"1"` | default value from the Grafana chart |
29+
| dashboards.namespace | string | `nil` | |
2030
| extraApiArgs | list | `[]` | Extra args for Pyrra's API container |
2131
| extraKubernetesArgs | list | `[]` | Extra args for Pyrra's Kubernetes container |
2232
| fullnameOverride | string | `""` | Overrides helm-generated chart fullname |

charts/pyrra/README.md.gotmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Additionaly, you (most likely) will need to specify prometheusExternalUrl with U
1616
Pyrra can be configured to validate SLOs and SLO groups using a webhook admission controller. This is an optional feature that can be enabled by setting the `validatingWebhookConfiguration.enabled` value to `true`. The webhook admission controller will validate SLOs when they are created or updated.
1717
If the SLO object is invalid, the admission controller will reject the request and provide a reason for the failure. This requires cert-manager to be installed in the cluster. If cert-manager is not installed, the webhook admission controller will not be created.
1818

19+
## Grafana dashboards
20+
Pyrra provides Grafana dashboards additionally to it's own UI.
21+
The dashboards can be deployed using a ConfigMap and get's automatically [reloaded by a Grafana sidecar](https://github.com/grafana/helm-charts/tree/main/charts/grafana#sidecar-for-dashboards).
22+
1923
{{ template "chart.valuesSection" . }}
2024

2125
## Upgrading
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.json

0 commit comments

Comments
 (0)