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
7ed56c13
Commit
7ed56c13
authored
Oct 16, 2016
by
Julius Volz
Committed by
GitHub
Oct 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #599 from prometheus/write
Document remote write config.
parents
df201039
9b103d30
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
3 deletions
+31
-3
Gemfile.lock
Gemfile.lock
+0
-3
configuration.md
content/docs/operating/configuration.md
+31
-0
No files found.
Gemfile.lock
View file @
7ed56c13
...
@@ -99,6 +99,3 @@ DEPENDENCIES
...
@@ -99,6 +99,3 @@ DEPENDENCIES
rb-inotify
rb-inotify
redcarpet
redcarpet
rspec
rspec
BUNDLED WITH
1.11.2
content/docs/operating/configuration.md
View file @
7ed56c13
...
@@ -75,6 +75,19 @@ scrape_configs:
...
@@ -75,6 +75,19 @@ scrape_configs:
alerting:
alerting:
alert_relabel_configs:
alert_relabel_configs:
[ - <relabel_config> ... ]
[ - <relabel_config> ... ]
# Settings related to the experimental remote write feature.
remote_write:
[ url: <string> ]
[ remote_timeout: <duration> | default = 30s ]
tls_config:
[ <tls_config> ]
[ proxy_url: <string> ]
basic_auth:
[ username: <string> ]
[ password: <string> ]
write_relabel_configs:
[ - <relabel_config> ... ]
```
```
...
@@ -776,3 +789,21 @@ relabeling is applied after external labels.
...
@@ -776,3 +789,21 @@ relabeling is applied after external labels.
One use for this is ensuring a HA pair of Prometheus servers with different
One use for this is ensuring a HA pair of Prometheus servers with different
external labels send identical alerts.
external labels send identical alerts.
### `<remote_write>`
CAUTION: Remote write is experimental: breaking changes to configuration are
likely in future releases.
`url`
is the URL of the endpoint to send samples to.
`remote_timeout`
specifies
the timeout for sending requests to the URL. There are no retries.
`basic_auth`
,
`tls_config`
and
`proxy_url`
have the same meanings as in a
`scrape_config`
.
`write_relabel_configs`
is relabelling applied to samples before sending them
to the URL. Write relabelling is applied after external labels. This could be
used to limit which samples are sent.
There is a
[
small
demo](https://github.com/prometheus/prometheus/tree/master/documentation/examples/remote_storage)
of how to use this functionality.
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