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
923feb9a
Commit
923feb9a
authored
Jun 17, 2015
by
Brian Brazil
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #117 from brian-brazil/serverset
Document serverset config
parents
244ff4f4
12e3bb92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
configuration.md
content/docs/operating/configuration.md
+32
-0
No files found.
content/docs/operating/configuration.md
View file @
923feb9a
...
@@ -110,6 +110,10 @@ dns_sd_configs:
...
@@ -110,6 +110,10 @@ dns_sd_configs:
consul_sd_configs:
consul_sd_configs:
[ - <consul_sd_config> ... ]
[ - <consul_sd_config> ... ]
# List of Zookeeper Serverset service discovery configurations.
serverset_sd_configs:
[ - <serverset_sd_config> ... ]
# List of file service discovery configurations.
# List of file service discovery configurations.
file_sd_configs:
file_sd_configs:
[ - <file_sd_config> ... ]
[ - <file_sd_config> ... ]
...
@@ -202,6 +206,34 @@ services:
...
@@ -202,6 +206,34 @@ services:
[ tag_separator: <string> | default = , ]
[ tag_separator: <string> | default = , ]
```
```
### Zookeeper Serverset SD configurations `<serverset_sd_config>`
Serverset SD configurations allow retrieving scrape targets from
[
Serversets
]
(https://github.com/twitter/finagle/tree/master/finagle-serversets) which are
stored in
[
Zookeeper
](
https://zookeeper.apache.org/
)
. Serversets are commonly
used by
[
Finagle
](
https://twitter.github.io/finagle/
)
and
[
Aurora
](
http://aurora.apache.org/
)
.
The following meta labels are available on targets during relabeling:
*
`__meta_serverset_path`
: the full path to the serverset member node in Zookeeper
*
`__meta_serverset_endpoint_host`
: the host of the default endpoint
*
`__meta_serverset_endpoint_port`
: the port of the default endpoint
*
`__meta_serverset_endpoint_host_<endpoint>`
: the host of the given endpoint
*
`__meta_serverset_endpoint_port_<endpoint>`
: the port of the given endpoint
*
`__meta_serverset_status`
: the status of the member
```
# The Zookeeper servers.
servers:
- <host>
# Paths can point to a single serverset, or the root of a tree of serversets.
paths:
- <string>
[ timeout: <duration> | default = 10s ]
```
Serverset data must be in the JSON format, the Thrift format is not currently supported.
### File-based SD configurations `<file_sd_config>`
### File-based SD configurations `<file_sd_config>`
...
...
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