aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/meta/argument_specs.yml
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-06-11 18:53:04 +0200
committerColin Wilk <colin.wilk@tum.de>2023-06-11 18:53:04 +0200
commit232bdca2add4253981b0873188663069f74a0610 (patch)
treef455d26babf600baad72e5e68d02a7f2730e548c /meta/argument_specs.yml
parent7623b7302f445798fb9d6fe31c1c1eb7085173a4 (diff)
downloadansible-role-prometheus-target-232bdca2add4253981b0873188663069f74a0610.tar.gz
ansible-role-prometheus-target-232bdca2add4253981b0873188663069f74a0610.zip
Add ability to specify target path prefix
This will decrease the amount of redundant configuration for users by allowing them to specify a general prefix on global / exporter / play level Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to 'meta/argument_specs.yml')
-rw-r--r--meta/argument_specs.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/argument_specs.yml b/meta/argument_specs.yml
index ec16ae0..270bf68 100644
--- a/meta/argument_specs.yml
+++ b/meta/argument_specs.yml
@@ -13,6 +13,10 @@ argument_specs:
################################################################################
# Optional
################################################################################
+ prometheus_target_exporter_target_prefix:
+ type: str
+ required: false
+ default: ''
prometheus_target_strategy:
type: str
@@ -71,6 +75,9 @@ argument_specs:
path:
type: str
required: false
+ path_prefix:
+ type: str
+ required: false
host:
type: str
required: false