Updates prometheus-rules documentation

This commit is contained in:
Dimitrije Manic 2021-08-12 08:03:16 -04:00
parent 6a150f4cc8
commit ac75ee6221

View File

@ -228,7 +228,7 @@ Here the alert `KubeStatefulSetReplicasMismatch` is being filtered out of the gr
```jsonnet ```jsonnet
local filter = { local filter = {
kubernetesControlPlane+: { kubernetesControlPlane+: {
prometheusRule+:: { prometheusRule+: {
spec+: { spec+: {
groups: std.map( groups: std.map(
function(group) function(group)
@ -255,7 +255,7 @@ Here the expression for another alert in the same component is updated from its
```jsonnet ```jsonnet
local update = { local update = {
kubernetesControlPlane+: { kubernetesControlPlane+: {
prometheusRule+:: { prometheusRule+: {
spec+: { spec+: {
groups: std.map( groups: std.map(
function(group) function(group)