mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-10-25 06:01:02 +02:00
Updates prometheus-rules documentation
This commit is contained in:
parent
6a150f4cc8
commit
ac75ee6221
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user