Add http_response input for endpoint
Change-Id: Id26bd1ee916e49fb4f19e914f1b5fec013c2660d
diff --git a/cinder/meta/telegraf.yml b/cinder/meta/telegraf.yml
new file mode 100644
index 0000000..d0a3ac3
--- /dev/null
+++ b/cinder/meta/telegraf.yml
@@ -0,0 +1,8 @@
+{%- from "cinder/map.jinja" import controller with context %}
+{%- if controller.get('enabled', False) %}
+agent:
+ input:
+ http_response:
+ cinder-api:
+ address: "http://{{ controller.osapi.host|replace('0.0.0.0', '127.0.0.1') }}:8776/"
+{%- endif %}
\ No newline at end of file