Add stacktrace in metriclogprocessor