Change the protocol target key of the http_response check
Change-Id: Iad2da40446c0102c408f175ec94bdd4e9bc2e92c
Related-PROD: PROD-25259 (PROD:25259)
diff --git a/keystone/meta/telegraf.yml b/keystone/meta/telegraf.yml
index 1ca8655..476703e 100644
--- a/keystone/meta/telegraf.yml
+++ b/keystone/meta/telegraf.yml
@@ -31,7 +31,7 @@
input:
http_response:
keystone-public-api:
- address: "{{ server.bind.public_protocol }}://{{ server.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.bind.public_port }}/"
+ address: "{{ server.bind.get('protocol','http') }}://{{ server.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.bind.public_port }}/"
expected_code: 300
keystone-admin-api:
address: "{{ server.bind.private_protocol }}://{{ server.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.bind.private_port }}/"