Skip to content

Commit

Permalink
chore(docs): use scheme & port in example
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
  • Loading branch information
M0NsTeRRR committed Jun 27, 2024
1 parent 6e5116a commit 56a8275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/receivercreator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ receivers:
rule: type == "k8s.ingress" && annotations["prometheus.io/probe"] == "true"
config:
targets:
- endpoint: 'http://`endpoint`:`"prometheus.io/port" in annotations ? annotations["prometheus.io/port"] : 9090``"prometheus.io/path" in annotations ? annotations["prometheus.io/path"] : "/health"`'
- endpoint: '`scheme`://`endpoint`:`port``"prometheus.io/path" in annotations ? annotations["prometheus.io/path"] : "/health"`'
method: GET
collection_interval: 10s

Expand Down

0 comments on commit 56a8275

Please sign in to comment.