Drop keystone api version from telegraf config
Since there is auto-select for keystone API version presented in
gophercloud we can drop this suffix in configuration.
Change-Id: If347991592348eae17198f639c2e56511a978deb
Related-PROD: PROD-24705 (PROD:24705)
diff --git a/keystone/meta/telegraf.yml b/keystone/meta/telegraf.yml
index a293ce2..1ca8655 100644
--- a/keystone/meta/telegraf.yml
+++ b/keystone/meta/telegraf.yml
@@ -12,7 +12,7 @@
region: "{{ server.region }}"
username: "{{ server.admin_name }}"
password: "{{ server.admin_password }}"
- identity_endpoint: "{{ server.bind.private_protocol }}://{{ server.bind.private_address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.bind.private_port }}/v{% if server.get('api_version', 2)|int == 2 %}2.0{% else %}3{% endif %}"
+ identity_endpoint: "{{ server.bind.private_protocol }}://{{ server.bind.private_address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.bind.private_port }}/"
monitor_agents: "true"
output:
prometheus_client_openstack: