Skip to content

Commit

Permalink
Rename prometheus metrics namespace to k8up
Browse files Browse the repository at this point in the history
  • Loading branch information
ccremer committed Nov 4, 2021
1 parent 13702ba commit 48e03ce
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/samples/prometheus/rules.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
groups:
- name: K8up
rules:
- alert: baas_last_errors
expr: baas_backup_restic_last_errors > 0
- alert: K8upBackupLastErrors
expr: k8up_backup_restic_last_errors > 0
for: 1m
labels:
severity: critical
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ We have big plans for future versions of K8up, but they all require a solid foun
We believe that K8up v2 is that solid foundation.

Going forward, K8up v2 drops support for very old Kubernetes versions, for example OpenShift 3.11.
If you are using Prometheus for alerting, note that metrics names changed their prefix from `baas` to `k8up`.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/how-tos/restore.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ You’ll need the credentials from the secrets and the encryption key. With that

[source,bash]
----
export RESTIC_REPOSITORY=s3:http://localhost/baas
export RESTIC_REPOSITORY=s3:http://localhost/k8up
export RESTIC_PASSWORD=p@assword
export AWS_ACCESS_KEY_ID=8U0UDNYPNUDTUS1LIAF3
export AWS_SECRET_ACCESS_KEY=ip3cdrkXcHmH4S7if7erKPNoxDn27V0vrg6CHHem
Expand Down
2 changes: 1 addition & 1 deletion restic/cli/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

const (
prometheusNamespace = "baas"
prometheusNamespace = "k8up"
prometheusSubsystem = "backup_restic"
)

Expand Down

0 comments on commit 48e03ce

Please sign in to comment.