Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ public class AppServiceImpl implements AppService {

private static final Log log = LogFactory.getLog(AppServiceImpl.class);

@Value("${moss.skywalking.url}")
private String skyWalKing_Url;

@Autowired
private AppMapper appMapper;

Expand Down Expand Up @@ -129,7 +132,7 @@ public void update(AppModel appModel) {
public ResultData getTraceTopology(String appName) {
ResultData resultData = ResultData.builder().build();
//Skywalking的URL
String traceBaseUrl = "";
String traceBaseUrl = skyWalKing_Url;
//查询出SkyWalking中的所有应用信息
List<Application> applications = findAllApplications(traceBaseUrl);
String targetApplicationId = null;
Expand Down
2 changes: 2 additions & 0 deletions moss-web/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ info.version: @project.version@
#management.jolokia.enabled: true
management.endpoints.health.show-details: true

### 替换成自己的skywalking URL
moss.skywalking.url: http://skywalking.com