String city = payload.getCity();
Map<String, String> pars = new LinkedHashMap<String, String>();
String url = payload.getUrl();
if (url == null && rules.size() > 0) {
PatternItem patternItem = new ArrayList<PatternItem>(rules).get(0);
url = patternItem.getName();
payload.setGroup(patternItem.getGroup());
payload.setUrl(url);
}
pars.put("metricType", Constants.METRIC_USER_MONITOR);
pars.put("type", type);