Commit 981f6515 authored by Fabian Reinartz's avatar Fabian Reinartz

Merge pull request #197 from prometheus/etcd-post-fixes

Minor fixups in etcd discovery blog post.
parents 7fb3602e 6e96e728
...@@ -47,8 +47,8 @@ look like this: ...@@ -47,8 +47,8 @@ look like this:
``` ```
{ {
Targets: ["10.0.33.1:54423", "10.0.34.12:32535"], "targets": ["10.0.33.1:54423", "10.0.34.12:32535"],
Labels: { "labels": {
"job": "node_exporter" "job": "node_exporter"
} }
} }
...@@ -161,7 +161,7 @@ instance or entire service disappears however, we call `srvs.handle` using the ...@@ -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 We finish each update by another call to `srvs.persist` to write out the
changes to the file Promtheus is watching. changes to the file Promtheus is watching.
### Modifcation methods ### Modification methods
So far so good – conceptually this works. What remains are the `update` and So far so good – conceptually this works. What remains are the `update` and
`delete` handler methods as well as the `persist` method. `delete` handler methods as well as the `persist` method.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment