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
db87823b
Commit
db87823b
authored
Oct 08, 2016
by
Brian Brazil
Committed by
GitHub
Oct 08, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #587 from dominikschulz/gce_docs
Add GCE SD docs
parents
722fb754
3f8e2b72
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
configuration.md
content/docs/operating/configuration.md
+28
-0
No files found.
content/docs/operating/configuration.md
View file @
db87823b
...
@@ -186,6 +186,10 @@ ec2_sd_configs:
...
@@ -186,6 +186,10 @@ ec2_sd_configs:
file_sd_configs:
file_sd_configs:
[ - <file_sd_config> ... ]
[ - <file_sd_config> ... ]
# List of GCE service discovery configurations.
gce_sd_configs:
[ - <gce_sd_config> ... ]
# List of Kubernetes service discovery configurations.
# List of Kubernetes service discovery configurations.
kubernetes_sd_configs:
kubernetes_sd_configs:
[ - <kubernetes_sd_config> ... ]
[ - <kubernetes_sd_config> ... ]
...
@@ -434,6 +438,30 @@ may contain a single `*` that matches any character sequence, e.g. `my/path/tg_*
...
@@ -434,6 +438,30 @@ may contain a single `*` that matches any character sequence, e.g. `my/path/tg_*
NOTE: Prior to v0.20,
`names:`
was used instead of
`files:`
.
NOTE: Prior to v0.20,
`names:`
was used instead of
`files:`
.
### `<gce_sd_config>`
CAUTION: GCE SD is in beta: breaking changes to configuration are still
likely in future releases.
[
GCE
](
https://cloud.google.com/compute/
)
SD configurations allow retrieving scrape targets from GCP GCE instances.
The private IP address is used by default, but may be changed to the public IP
address with relabeling.
The following meta labels are available on targets during relabeling:
*
`__meta_gce_project`
: the GCP project in which the instance is running
*
`__meta_gce_zone`
: the GCE zone in which the instance is running
*
`__meta_gce_network`
: the network of the instance
*
`__meta_gce_subnetwork`
: the subnetwork of the instance
*
`__meta_gce_public_ip`
: the public IP address of the instance, if present
*
`__meta_gce_private_ip`
: the private IP address of the instance
*
`__meta_gce_instance_name`
: the name of the instance
*
`__meta_gce_instance_status`
: the lifecycle status of the instance
*
`__meta_gce_instance_tags`
: comma separated list of instance tags
*
`__meta_gce_instance_metadata_<metadatakey>`
: each metadata value of the instance
### `<kubernetes_sd_config>`
### `<kubernetes_sd_config>`
CAUTION: Kubernetes SD is in beta: breaking changes to configuration are still
CAUTION: Kubernetes SD is in beta: breaking changes to configuration are still
...
...
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