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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
a5f3a11a
Commit
a5f3a11a
authored
Oct 24, 2016
by
Fabian Reinartz
Browse files
Options
Downloads
Patches
Plain Diff
Document dashboarding
parent
7b92c028
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+15
-0
15 additions, 0 deletions
README.md
manifests/examples/example-app/servicemonitor-frontend.yaml
+2
-2
2 additions, 2 deletions
manifests/examples/example-app/servicemonitor-frontend.yaml
with
17 additions
and
2 deletions
README.md
+
15
−
0
View file @
a5f3a11a
...
@@ -63,6 +63,21 @@ Teardown:
...
@@ -63,6 +63,21 @@ Teardown:
hack/example-service-monitoring/teardown
hack/example-service-monitoring/teardown
```
```
## Dashboarding
The provided manifests deploy a Grafana instance serving dashboards provided via a ConfigMap.
To modify, delete, or add dashboards, the
`grafana-dashboards`
ConfigMap must be modified.
Currently, Grafana does not support serving dashboards from static files. Instead, the
`grafana-watcher`
sidecar container aims to emulate the behavior, by keeping the Grafana database always in sync
with the provided ConfigMap. Hence, the Grafana pod is effectively stateless.
This allows managing dashboards via
`git`
etc. and easily deploying them via CD pipelines.
In the future, a separate Grafana controller should support gathering dashboards from multiple
ConfigMaps, which are selected by their labels.
Prometheus servers deployed by the Prometheus controller should be automatically added as
Grafana data sources.
## Roadmap
## Roadmap
*
Incorporate
[
Alertmanager controller
](
https://github.com/coreos/kube-alertmanager-controller
)
*
Incorporate
[
Alertmanager controller
](
https://github.com/coreos/kube-alertmanager-controller
)
...
...
This diff is collapsed.
Click to expand it.
manifests/examples/example-app/servicemonitor-frontend.yaml
+
2
−
2
View file @
a5f3a11a
...
@@ -9,6 +9,6 @@ spec:
...
@@ -9,6 +9,6 @@ spec:
selector
:
selector
:
matchLabels
:
matchLabels
:
team
:
frontend
team
:
frontend
scrapeInterval
:
10s
endpoints
:
endpoints
:
-
port
:
web
-
port
:
web
interval
:
10s
\ No newline at end of file
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
sign in
to comment