diff --git a/etcd/assets/configuration/spec.yaml b/etcd/assets/configuration/spec.yaml index 0acbffb4ca8c3..2cf152b02d775 100644 --- a/etcd/assets/configuration/spec.yaml +++ b/etcd/assets/configuration/spec.yaml @@ -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: @@ -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 diff --git a/etcd/datadog_checks/etcd/data/auto_conf.yaml b/etcd/datadog_checks/etcd/data/auto_conf.yaml index 319ed3dc02be8..496aae723ac8b 100644 --- a/etcd/datadog_checks/etcd/data/auto_conf.yaml +++ b/etcd/datadog_checks/etcd/data/auto_conf.yaml @@ -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. #