Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
e2d1fc5b
Commit
e2d1fc5b
authored
Oct 14, 2016
by
Dominik Schulz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address review comments
parent
d251238e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
configuration.md
content/docs/operating/configuration.md
+8
-8
No files found.
content/docs/operating/configuration.md
View file @
e2d1fc5b
...
@@ -468,8 +468,8 @@ See below for the configuration options for GCE discovery:
...
@@ -468,8 +468,8 @@ See below for the configuration options for GCE discovery:
# The GCP Project
# The GCP Project
project: <string>
project: <string>
# The
Z
one of the scrape targets. If you need multiple zones use multiple
# The
z
one of the scrape targets. If you need multiple zones use multiple
# gce_sd_configs
# gce_sd_configs
.
zone: <string>
zone: <string>
# Filter can be used optionally to filter the instance list by other criteria
# Filter can be used optionally to filter the instance list by other criteria
...
@@ -487,14 +487,14 @@ zone: <string>
...
@@ -487,14 +487,14 @@ zone: <string>
```
```
Credentials are discovered by the Google Cloud SDK default client by looking
Credentials are discovered by the Google Cloud SDK default client by looking
in the following places, prefering the first location found:
in the following places, prefer
r
ing the first location found:
1.
a JSON file specified by
GOOGLE_APPLICATION_CREDENTIALS
1.
a JSON file specified by
the
`GOOGLE_APPLICATION_CREDENTIALS`
environment variable
2.
a JSON file in
a well known path, $HOME/.config/gcloud/application_default_credentials.json
2.
a JSON file in
the well-known path
`$HOME/.config/gcloud/application_default_credentials.json`
3.
fetched from the GCE
M
etadata server
3.
fetched from the GCE
m
etadata server
If
prometheus is running within GCE
the service account associated with the
If
Prometheus is running within GCE,
the service account associated with the
instance it is running on should have at least read
only permissions to the
instance it is running on should have at least read
-
only permissions to the
compute resources. If running outside of GCE make sure to create an appropriate
compute resources. If running outside of GCE make sure to create an appropriate
service account and place the credential file in one of the expected locations.
service account and place the credential file in one of the expected locations.
...
...
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