Skip to content

Commit afc6053

Browse files
committed
update README
1 parent 1a5e42e commit afc6053

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ traceandtrace-go is go tracing lib. It integrate multi tracer such as jeager,zip
1616
## API
1717
[godoc](https://pkg.go.dev/github.com/codeandcode0x/traceandtrace-go)
1818

19+
## Env Setting
20+
21+
| Env | Value |
22+
| ---- | ---- |
23+
| TRACE_SAMPLER_TYPE | const/probabilistic/ratelimiting/remote |
24+
| TRACE_SAMPLER_PARAM | 0-1 |
25+
| TRACE_ENDPOINT | http://localhost:14268/api/traces |
26+
| TRACE_AGENT_HOST | localhost:6831 |
27+
| TRACE_REPORTER_LOG_SPANS | false/ture |
28+
1929
## Ext field
2030
spanKind <br>
2131
component <br>

0 commit comments

Comments
 (0)