Fix apache response time casting from us to s
Change-Id: I422cf3eed2cc1a8bc1b1e5840b19ab07897ab261
Partial-Fix: PROD-20999
diff --git a/cinder/meta/fluentd.yml b/cinder/meta/fluentd.yml
index b29372b..a0dbd17 100644
--- a/cinder/meta/fluentd.yml
+++ b/cinder/meta/fluentd.yml
@@ -43,8 +43,9 @@
value: INFO
- name: programname
value: cinder-wsgi
+ # Apache logs response time in microseconds
- name: http_response_time
- value: ${ record['http_response_time'].to_i/100000.to_f }
+ value: ${ record['http_response_time'].to_i/10**6.to_f }
match:
send_to_default:
tag: openstack.cinder