Add http_response input for endpoint
Change-Id: I5301785a9c1eaa510505f656da8e7af1e1d7bad7
diff --git a/ceilometer/meta/telegraf.yml b/ceilometer/meta/telegraf.yml
new file mode 100644
index 0000000..4db03b7
--- /dev/null
+++ b/ceilometer/meta/telegraf.yml
@@ -0,0 +1,9 @@
+{%- from "ceilometer/map.jinja" import server with context %}
+{%- if server.get('enabled', False) %}
+agent:
+ input:
+ http_response:
+ ceilometer-api:
+ address: "http://{{ server.bind.host|replace('0.0.0.0', '127.0.0.1') }}:{{ server.bind.port }}/"
+ expected_code: 300
+{%- endif %}
\ No newline at end of file
diff --git a/metadata/service/support.yml b/metadata/service/support.yml
index dc6c05b..556e589 100644
--- a/metadata/service/support.yml
+++ b/metadata/service/support.yml
@@ -9,3 +9,5 @@
enabled: false
sphinx:
enabled: true
+ telegraf:
+ enabled: true