diff --git a/apimanager/metrics/forms.py b/apimanager/metrics/forms.py index 6e91f3e2..62e615f4 100644 --- a/apimanager/metrics/forms.py +++ b/apimanager/metrics/forms.py @@ -193,8 +193,8 @@ class ConnectorMetricsForm(MetricsForm): ), required=False, ) - obp_api_request_id = forms.CharField( - label='OBP API Request ID', + correlation_id = forms.CharField( + label='Correlation ID', widget=forms.TextInput( attrs={ 'class': 'form-control', diff --git a/apimanager/metrics/templates/metrics/connector.html b/apimanager/metrics/templates/metrics/connector.html index 51232c91..48d8ea0c 100644 --- a/apimanager/metrics/templates/metrics/connector.html +++ b/apimanager/metrics/templates/metrics/connector.html @@ -63,10 +63,10 @@

Filter

- {% if form.obp_api_request_id.errors %}
{{ form.obp_api_request_id.errors }}
{% endif %} + {% if form.correlation_id.errors %}
{{ form.correlation_id.errors }}
{% endif %}
- {{ form.obp_api_request_id.label_tag }} - {{ form.obp_api_request_id }} + {{ form.correlation_id.label_tag }} + {{ form.correlation_id }}
@@ -85,7 +85,7 @@

Filter

Date Connector Name Function Name - OBP API Request ID + Correlation ID Duration (ms) @@ -96,7 +96,7 @@

Filter

{{ metric.date|date:"Y-m-d H:m:s" }} {{ metric.connector_name }} {{ metric.function_name }} - {{ metric.obp_api_request_id }} + {{ metric.correlation_id }} {{ metric.duration }} {% endfor %}