Skip to content

Commit 35dbde1

Browse files
committed
fix default dashboard address
1 parent be6c311 commit 35dbde1

5 files changed

Lines changed: 8 additions & 3 deletions

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ ifeq ($(OS), Darwin)
1010
INCLUDES += -I$(JAVA_HOME)/include/darwin
1111
OS_TAG=macos
1212
else
13+
CPPFLAGS += -static-libstdc++
1314
INCLUDES += -I$(JAVA_HOME)/include/linux
1415
OS_TAG=linux
1516
endif
1617

17-
LIB_VERSION=1.0.0
18+
LIB_VERSION=1.0.1
1819
LIB_NAME=libstackimpact-$(LIB_VERSION)-$(OS_TAG)-x64.so
1920

2021

build.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0"?>
22

33
<project name="stackimpact" basedir="." default="bin">
4-
<property name="version" value="1.0.0"/>
54
<property name="src.dir" value="src"/>
65
<property name="lib.dir" value="lib"/>
76
<property name="build.dir" value="build"/>

dist/stackimpact-test.jar

-120 KB
Binary file not shown.

dist/stackimpact.jar

997 KB
Binary file not shown.

src/com/stackimpact/agent/Agent.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616

1717
public class Agent {
18-
public final static String VERSION = "1.0.0";
18+
public final static String VERSION = "1.0.1";
19+
public final static String SAAS_DASHBOARD_ADDRESS = "https://agent-api.stackimpact.com";
1920

2021
private static Agent instance;
2122

@@ -273,6 +274,10 @@ public synchronized void start(String agentKey, String appName) {
273274
return;
274275
}
275276

277+
if(dashboardAddress == null) {
278+
dashboardAddress = SAAS_DASHBOARD_ADDRESS;
279+
}
280+
276281
this.agentKey = agentKey;
277282
this.appName = appName;
278283

0 commit comments

Comments
 (0)