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
404350e5
Commit
404350e5
authored
9 years ago
by
Brian Brazil
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #257 from brian-brazil/file-sd-clarify
Clarify the format for file SD files.
parents
b0117f5c
1bcaee18
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
configuration.md
content/docs/operating/configuration.md
+10
-7
No files found.
content/docs/operating/configuration.md
View file @
404350e5
...
@@ -472,15 +472,18 @@ all defined files are detected via disk watches and applied immediately. Files m
...
@@ -472,15 +472,18 @@ all defined files are detected via disk watches and applied immediately. Files m
provided in YAML or JSON format. Only changes resulting in well-formed target groups
provided in YAML or JSON format. Only changes resulting in well-formed target groups
are applied.
are applied.
The JSON
version of a target group has the following
format:
The JSON
file must contain a list of target groups, using this
format:
```
```
{
[
{
"targets": [ "<host>", ... ],
"targets": [ "<host>", ... ],
"labels": {
"labels": {
[ "<labelname>": "<labelvalue>", ... ]
[ "<labelname>": "<labelvalue>", ... ]
}
}
}
},
...
]
```
```
As a fallback, the file contents are also re-read periodically at the specified
As a fallback, the file contents are also re-read periodically at the specified
...
...
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