Skip to content

Commit

Permalink
[Heartbeat] Fix example in docs for autodiscover (elastic#11891)
Browse files Browse the repository at this point in the history
The docs used `hosts` instead of the correct `urls` config key.

Fixes elastic#11643
  • Loading branch information
andrewvc committed Apr 23, 2019
1 parent 69f9ac0 commit be208a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heartbeat/docs/autodiscover-kubernetes-config.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ heartbeat.autodiscover:
kubernetes.annotations.prometheus.io.scrape: "true"
config:
- type: http
hosts: ["${data.host}:${data.port}"]
urls: ["${data.host}:${data.port}"]
schedule: "@every 1s"
timeout: 1s
-------------------------------------------------------------------------------------
Expand Down

0 comments on commit be208a5

Please sign in to comment.