Commit 6e96e728 authored by Julius Volz's avatar Julius Volz

Minor fixups in etcd discovery blog post.

parent 7fb3602e
...@@ -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