GeezerVison is showing github.com — fix default dashboard address · pibi/stackimpact-java@35dbde1
File tree
Expand file treeCollapse file tree
Open diff view settings
src/com/stackimpact/agent
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: Makefile +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -10,11 +10,12 @@ ifeq ($(OS), Darwin) |
10 | 10 | INCLUDES += -I$(JAVA_HOME)/include/darwin |
11 | 11 | OS_TAG=macos |
12 | 12 | else |
| 13 | + CPPFLAGS += -static-libstdc++ |
13 | 14 | INCLUDES += -I$(JAVA_HOME)/include/linux |
14 | 15 | OS_TAG=linux |
15 | 16 | endif |
16 | 17 |
|
17 | | -LIB_VERSION=1.0.0 |
| 18 | +LIB_VERSION=1.0.1 |
18 | 19 | LIB_NAME=libstackimpact-$(LIB_VERSION)-$(OS_TAG)-x64.so |
19 | 20 |
|
20 | 21 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: build.xml -1Lines changed: 0 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | <?xml version="1.0"?> |
2 | 2 |
|
3 | 3 | <project name="stackimpact" basedir="." default="bin"> |
4 | | - <property name="version" value="1.0.0"/> |
5 | 4 | <property name="src.dir" value="src"/> |
6 | 5 | <property name="lib.dir" value="lib"/> |
7 | 6 | <property name="build.dir" value="build"/> |
|
Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboardExpand all lines: src/com/stackimpact/agent/Agent.java +6-1Lines changed: 6 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
15 | 15 |
|
16 | 16 |
|
17 | 17 | 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"; |
19 | 20 |
|
20 | 21 | private static Agent instance; |
21 | 22 |
|
@@ -273,6 +274,10 @@ public synchronized void start(String agentKey, String appName) { |
273 | 274 | return; |
274 | 275 | } |
275 | 276 |
|
| 277 | + if(dashboardAddress == null) { |
| 278 | + dashboardAddress = SAAS_DASHBOARD_ADDRESS; |
| 279 | + } |
| 280 | + |
276 | 281 | this.agentKey = agentKey; |
277 | 282 | this.appName = appName; |
278 | 283 |
|
|