[Feature] Trace: Support http/protobuf span exporter protocol (#12396)
Signed-off-by: zhanghaotong <zhanghaotong.zht@antgroup.com>
This commit is contained in:
@@ -33,6 +33,12 @@ This section explains how to configure the request tracing and export the trace
|
||||
|
||||
Replace `0.0.0.0:4317` with the actual endpoint of the opentelemetry collector. If you launched the openTelemetry collector with tracing_compose.yaml, the default receiving port is 4317.
|
||||
|
||||
To use the HTTP/protobuf span exporter, set the following environment variable and point to an HTTP endpoint, for example, `http://0.0.0.0:4318/v1/traces`.
|
||||
```bash
|
||||
export OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf
|
||||
```
|
||||
|
||||
|
||||
4. raise some requests
|
||||
5. Observe whether trace data is being exported
|
||||
* Access port 16686 of Jaeger using a web browser to visualize the request traces.
|
||||
|
||||
Reference in New Issue
Block a user