diff options
-rw-r--r-- | cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java | 2 | ||||
-rw-r--r-- | cmso-topology/src/main/java/org/onap/observations/Mdc.java | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java b/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java index 5109b70..0394139 100644 --- a/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java +++ b/cmso-ticketmgt/src/main/java/org/onap/observations/Mdc.java @@ -198,9 +198,7 @@ public class Mdc { * @param response the response */ public static void metricEnd(ClientResponseContext response) { - Date now = new Date(); - // MDC.put(MDC_BEGIN_TIMESTAMP, Stopwatch.isoFormatter.format(now)); MDC.put(MDC_END_TIMESTAMP, Stopwatch.isoFormatter.format(now)); setResponseInfo(response.getStatusInfo()); diff --git a/cmso-topology/src/main/java/org/onap/observations/Mdc.java b/cmso-topology/src/main/java/org/onap/observations/Mdc.java index f040437..45c134c 100644 --- a/cmso-topology/src/main/java/org/onap/observations/Mdc.java +++ b/cmso-topology/src/main/java/org/onap/observations/Mdc.java @@ -196,7 +196,6 @@ public class Mdc { public static void metricEnd(ClientResponseContext response) { Date now = new Date(); - // MDC.put(MDC_BEGIN_TIMESTAMP, Stopwatch.isoFormatter.format(now)); MDC.put(MDC_END_TIMESTAMP, Stopwatch.isoFormatter.format(now)); setResponseInfo(response.getStatusInfo()); |