Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-prometheus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
8d36d0d7
Unverified
Commit
8d36d0d7
authored
3 years ago
by
Paweł Krupa
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1317 from DimitrijeManic/wip/update-doc
parents
5452de1b
ac75ee62
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/developing-prometheus-rules-and-grafana-dashboards.md
+2
-2
2 additions, 2 deletions
docs/developing-prometheus-rules-and-grafana-dashboards.md
with
2 additions
and
2 deletions
docs/developing-prometheus-rules-and-grafana-dashboards.md
+
2
−
2
View file @
8d36d0d7
...
@@ -228,7 +228,7 @@ Here the alert `KubeStatefulSetReplicasMismatch` is being filtered out of the gr
...
@@ -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
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment