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
2c1fc1cc
Unverified
Commit
2c1fc1cc
authored
4 years ago
by
Lucas Servén Marín
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #587 from andresterba/fix-typo
Fix typo
parents
de9591cb
829a553e
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
+1
-1
1 addition, 1 deletion
docs/developing-prometheus-rules-and-grafana-dashboards.md
with
1 addition
and
1 deletion
docs/developing-prometheus-rules-and-grafana-dashboards.md
+
1
−
1
View file @
2c1fc1cc
...
@@ -214,7 +214,7 @@ local update = {
...
@@ -214,7 +214,7 @@ local update = {
},
},
};
};
```
```
Using the example from above about adding in pre-rendered rules, the new local vaiables can be added in as follows:
Using the example from above about adding in pre-rendered rules, the new local va
r
iables can be added in as follows:
```
jsonnet
```
jsonnet
local
kp
=
(
import
'kube-prometheus/kube-prometheus.libsonnet'
)
+
filter
+
update
+
{
local
kp
=
(
import
'kube-prometheus/kube-prometheus.libsonnet'
)
+
filter
+
update
+
{
prometheusAlerts
+::
(
import
'existingrule.json'
),
prometheusAlerts
+::
(
import
'existingrule.json'
),
...
...
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