Skip to content

Commit

Permalink
Merge pull request #465 from xxxllluuu/master
Browse files Browse the repository at this point in the history
fix issue 464
  • Loading branch information
zengli00 authored Dec 21, 2018
2 parents 991ed36 + d15c921 commit a442483
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 130 deletions.
57 changes: 0 additions & 57 deletions com.creditease.uav.agent.buildComponent/bin/run4docker.sh

This file was deleted.

52 changes: 0 additions & 52 deletions com.creditease.uav.agent.buildComponent/bin/run4k8s.sh

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@
import java.util.List;
import java.util.Map;

import org.aredis.cache.StringHandler;

import com.creditease.agent.helpers.DataStoreHelper;
import com.creditease.agent.helpers.JSONHelper;
import com.creditease.agent.helpers.StringHelper;
import com.creditease.agent.monitor.api.MonitorDataFrame;
import com.creditease.uav.datastore.api.DataStoreAdapter;
import com.creditease.uav.datastore.api.DataStoreConnection;
Expand Down Expand Up @@ -196,8 +199,8 @@ private Map<String, String> createTags(MonitorDataFrame mdf, String instanceId,
}
else if (meId.indexOf("procState") == 0) {
String temp[] = instanceId.split("_");
if ((temp[1].equals("java") || temp[1].equals("javaw.exe") || temp[1].equals("java.exe"))
&& fields.get("main") != null) {
if (("java".equals(temp[1]) || "javaw.exe".equals(temp[1]) || "java.exe".equals(temp[1]))
&& !StringHelper.isEmpty((String)fields.get("main"))) {

String mainClass = (String) fields.get("main");
// group Id :for java, pgid is main class
Expand Down

0 comments on commit a442483

Please sign in to comment.