# spring-boot-sample
**Repository Path**: synuwxy/spring-boot-sample
## Basic Information
- **Project Name**: spring-boot-sample
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-04-17
- **Last Updated**: 2021-05-11
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
spring-boot-sample 演示环境
## jaeger
### 使用
配置application.yml
```yaml
opentracing:
jaeger:
udp-sender:
port: 6831
host: 10.10.12.87 #这里填写jaeger服务端的ip
log-spans: false
sample:
jaeger:
get: http://localhost:8080/jaeger/get/child
post: http://localhost:8080/jaeger/post/child
```
### 访问
```bash
GET http://localhost:8080/jaeger/get/root
Accept: application/json
```
### 预期结果
访问jaeger页面

## skywalking
### 使用
```bash
# 启动命令指向skywalking的代理包
java -javaagent:xxx/xxx/skywalking-agent.jar -jar xxx.jar
```
### 访问
```bash
GET http://localhost:8080/skywalking/get/model
Accept: application/json
```
### 预期结果
访问skywalking页面

skywalking 拓扑图

skywalking 链路追踪

skywalking 链路追踪明细,包含sql语句查询
