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
ff6a3cab
Commit
ff6a3cab
authored
7 years ago
by
Tobias Schmidt
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #824 from alkalinecoffee/consul-metadata-doc
Add consul node metadata documentation
parents
063226b1
12525300
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
configuration.md
content/docs/operating/configuration.md
+5
-4
No files found.
content/docs/operating/configuration.md
View file @
ff6a3cab
...
@@ -294,13 +294,14 @@ Catalog API.
...
@@ -294,13 +294,14 @@ Catalog API.
The following meta labels are available on targets during relabeling:
The following meta labels are available on targets during relabeling:
*
`__meta_consul_address`
: the address of the target
*
`__meta_consul_address`
: the address of the target
*
`__meta_consul_dc`
: the datacenter name for the target
*
`__meta_consul_metadata_<key>`
: each metadata key value of the target
*
`__meta_consul_node`
: the node name defined for the target
*
`__meta_consul_node`
: the node name defined for the target
*
`__meta_consul_tags`
: the list of tags of the target joined by the tag separator
*
`__meta_consul_service`
: the name of the service the target belongs to
*
`__meta_consul_service_address`
: the service address of the target
*
`__meta_consul_service_address`
: the service address of the target
*
`__meta_consul_service_port`
: the service port of the target
*
`__meta_consul_service_id`
: the service ID of the target
*
`__meta_consul_service_id`
: the service ID of the target
*
`__meta_consul_dc`
: the datacenter name for the target
*
`__meta_consul_service_port`
: the service port of the target
*
`__meta_consul_service`
: the name of the service the target belongs to
*
`__meta_consul_tags`
: the list of tags of the target joined by the tag separator
```
```
# The information to access the Consul API. It is to be defined
# The information to access the Consul API. It is to be defined
...
...
This diff is collapsed.
Click to expand it.
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