From dd7e62afd06ca8148df637d0cc4cee97f5d5bc1b Mon Sep 17 00:00:00 2001 From: Abhishek Sharma Date: Mon, 14 Aug 2017 00:18:30 -0500 Subject: Adding gnocchi_api_audit_map.conf to pycadf Like we have the provision to audit API calls for services like nova, cinder etc., this change includes audit conf file for gnocchi. Change-Id: Ia435a05d6591c9c98dc5110a36ade6ac3abf9c49 Closes-Bug: 1710543 --- etc/pycadf/gnocchi_api_audit_map.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 etc/pycadf/gnocchi_api_audit_map.conf diff --git a/etc/pycadf/gnocchi_api_audit_map.conf b/etc/pycadf/gnocchi_api_audit_map.conf new file mode 100644 index 0000000..5ccdf9c --- /dev/null +++ b/etc/pycadf/gnocchi_api_audit_map.conf @@ -0,0 +1,21 @@ +[DEFAULT] +# default target endpoint type +# should match the endpoint type defined in service catalog +target_endpoint_type = metric + +# possible end path of api requests +[path_keywords] +metric = metric_id +measures = None +archive_policy = archive_policy_name +archive_policy_rule = archive_policy_rule_name +generic = generic_id +instance = instance_id +history = None +resource_type = resource_type_name +capabilities = None +status = None + +# map endpoint type defined in service catalog to CADF typeURI +[service_endpoints] +metric=service/metric -- cgit v1.2.1