Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/winlinvip/otel-sls-version
OpenTelemetry demo for SLS Trace as version service.
https://github.com/winlinvip/otel-sls-version
Last synced: 6 days ago
JSON representation
OpenTelemetry demo for SLS Trace as version service.
- Host: GitHub
- URL: https://github.com/winlinvip/otel-sls-version
- Owner: winlinvip
- License: mit
- Created: 2022-07-09T02:01:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-10T04:33:00.000Z (over 2 years ago)
- Last Synced: 2025-01-02T12:09:50.555Z (9 days ago)
- Language: Go
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# otel-sls-version
OpenTelemetry demo for SLS Trace as version service.
## Usage
Build and start api-server service:
```bash
(cd api-server && go build . && ./api-server 8088 otel.cn-beijing.log.aliyuncs.com:10010 otel ossrs versions v1.0.0 UJPI3Ad90g4Gxxxxxxxxxxxx k3ododEdFsGRdAgEwxxxxxxxxxxxxx http://127.0.0.1:8089/stable)
```Build and start stable-version service:
```bash
(cd stable-version && go build . && ./stable-version 8089 otel.cn-beijing.log.aliyuncs.com:10010 otel ossrs stable v1.0.0 UJPI3Ad90g4Gxxxxxxxxxxxx k3ododEdFsGRdAgEwxxxxxxxxxxxxx)
```Then, open the first link in browser:
* api-server: http://localhost:8088/hello
* stable-version: http://localhost:8089/stableNow, we're able to use the [SLS Trace](https://sls.console.aliyun.com/lognext/trace/otel/ossrs?resource=/trace/ossrs/explorer).