Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
flux2
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
fluxcd
flux2
Commits
43349279
Commit
43349279
authored
4 years ago
by
Patrick Ruckstuhl
Committed by
Hidde Beydals (Rebase PR Action)
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add example podMonitor for prometheus
Signed-off-by:
Patrick Ruckstuhl
<
patrick@ch.tario.org
>
parent
7d3c63ad
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/guides/monitoring.md
+18
-1
18 additions, 1 deletion
docs/guides/monitoring.md
with
18 additions
and
1 deletion
docs/guides/monitoring.md
+
18
−
1
View file @
43349279
...
@@ -54,7 +54,24 @@ If you wish to use your own Prometheus and Grafana instances, then you can impor
...
@@ -54,7 +54,24 @@ If you wish to use your own Prometheus and Grafana instances, then you can impor
!!! hint
!!! hint
Note that the toolkit controllers expose the
`/metrics`
endpoint on port
`8080`
.
Note that the toolkit controllers expose the
`/metrics`
endpoint on port
`8080`
.
When using Prometheus Operator you should create
`PodMonitor`
objects to configure scraping.
When using Prometheus Operator you should create a
`PodMonitor`
object for each controller to configure scraping.
```
yaml
apiVersion
:
monitoring.coreos.com/v1
kind
:
PodMonitor
metadata
:
name
:
source-controller
namespace
:
flux-system
spec
:
namespaceSelector
:
matchNames
:
-
flux-system
selector
:
matchLabels
:
app
:
source-controller
podMetricsEndpoints
:
-
port
:
http-prom
```
## Metrics
## Metrics
...
...
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