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
981f6515
Commit
981f6515
authored
Aug 29, 2015
by
Fabian Reinartz
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #197 from prometheus/etcd-post-fixes
Minor fixups in etcd discovery blog post.
parents
7fb3602e
6e96e728
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
2015-08-17-service-discovery-with-etcd.md
content/blog/2015-08-17-service-discovery-with-etcd.md
+12
-12
No files found.
content/blog/2015-08-17-service-discovery-with-etcd.md
View file @
981f6515
...
...
@@ -47,8 +47,8 @@ look like this:
```
{
Targets
: ["10.0.33.1:54423", "10.0.34.12:32535"],
Labels
: {
"targets"
: ["10.0.33.1:54423", "10.0.34.12:32535"],
"labels"
: {
"job": "node_exporter"
}
}
...
...
@@ -161,7 +161,7 @@ instance or entire service disappears however, we call `srvs.handle` using the
We finish each update by another call to
`srvs.persist`
to write out the
changes to the file Promtheus is watching.
### Modifcation methods
### Modif
i
cation methods
So far so good – conceptually this works. What remains are the
`update`
and
`delete`
handler methods as well as the
`persist`
method.
...
...
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