Skip to content

Commit 61fbd2b

Browse files
committed
Update README.md
1 parent b86755e commit 61fbd2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ Help Options:
4747
4848
Prometheus-puppetdb looks for a fact in PuppetDB ("prometheus_exporters" by default) to generate the list of targets.
4949
50-
The fact must be a hash using exporters as keys and an array of URIs as values,
50+
The fact must be a hash using exporters as keys and, as value, a hash which contains the target URL and a hash of labels,
5151
e.g.:
5252
5353
```
54-
collectd: [http://node.example.com:1234/metrics]
54+
collectd: [{url: http://node.example.com:1234/metrics, labels:{role: foo}}]
5555
```
5656
5757
You can populate the fact from Puppet using, for example, the `puppetlabs/concat` module:

0 commit comments

Comments
 (0)