Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
ff108bd8
Commit
ff108bd8
authored
Sep 25, 2017
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prom_docker: give targets correct job name
parent
3641e852
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
docker/blocks/prometheus/prometheus.yml
+12
-13
No files found.
docker/blocks/prometheus/prometheus.yml
View file @
ff108bd8
...
...
@@ -17,20 +17,19 @@ alerting:
-
targets
:
-
"
127.0.0.1:9093"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs
:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
-
job_name
:
'
prometheus'
static_configs
:
-
targets
:
[
'
localhost:9090'
]
# Override the global default and scrape targets from this job every 5 seconds.
scrape_interval
:
10s
scrape_timeout
:
10s
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
-
job_name
:
'
node_exporter'
static_configs
:
-
targets
:
[
'
127.0.0.1:9100'
]
-
job_name
:
'
fake-data-gen'
static_configs
:
-
targets
:
[
'
127.0.0.1:9091'
]
-
job_name
:
'
grafana'
static_configs
:
#- targets: ['localhost:9090', '172.17.0.1:9091', '172.17.0.1:9100', '172.17.0.1:9150']
-
targets
:
[
'
localhost:9090'
,
'
127.0.0.1:9091'
,
'
127.0.0.1:9100'
,
'
127.0.0.1:3000'
]
-
targets
:
[
'
127.0.0.1:3000'
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment