Skip to content

Commit

Permalink
Rename prometheus_possible_urls into possible_prometheus_urls
Browse files Browse the repository at this point in the history
  • Loading branch information
L3n41c committed Jun 30, 2021
1 parent 39063eb commit 225faa1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions etcd/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ files:
options: []
- template: instances
options:
- name: prometheus_possible_urls
- name: possible_prometheus_urls
required: true
description: |
The URLs to try to get your application metrics that are exposed by Prometheus.
The check will try each URLs in the list and will use the first working one.
One of prometheus_possible_urls or prometheus_url parameter is required.
One of possible_prometheus_urls or prometheus_url parameter is required.
value:
type: array
items:
Expand All @@ -60,7 +60,7 @@ files:
- name: prometheus_url
description: |
Prometheus endpoint of your etcd instance.
One of prometheus_possible_urls or prometheus_url parameter is required.
One of possible_prometheus_urls or prometheus_url parameter is required.
Note: To monitor ETCD versions pre-3.x.x, set `use_preview` to `false` and use the `url` configuration option.
required: false
Expand Down
8 changes: 4 additions & 4 deletions etcd/datadog_checks/etcd/data/auto_conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ init_config:
#
instances:

## @param prometheus_possible_urls - list of strings - required
## @param possible_prometheus_urls - list of strings - required
## The URLs to try to get your application metrics that are exposed by Prometheus.
## The check will try each URLs in the list and will use the first working one.
## One of prometheus_possible_urls or prometheus_url parameter is required.
## One of possible_prometheus_urls or prometheus_url parameter is required.
#
- prometheus_possible_urls:
- possible_prometheus_urls:
- https://%%host%%:2379/metrics
- http://%%host%%:2379/metrics

## @param prometheus_url - string - optional - default: http://%%host%%:2379/metrics
## Prometheus endpoint of your etcd instance.
## One of prometheus_possible_urls or prometheus_url parameter is required.
## One of possible_prometheus_urls or prometheus_url parameter is required.
##
## Note: To monitor ETCD versions pre-3.x.x, set `use_preview` to `false` and use the `url` configuration option.
#
Expand Down

0 comments on commit 225faa1

Please sign in to comment.