xuminwlt commented on issue #6329:
URL: https://github.com/apache/apisix/issues/6329#issuecomment-1041030479
Success, trace data is send to otel-collector.
But, I have a question, the default config of the otel-collector port like
this:
```
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
```
default config
```
otlp:
protocols:
grpc: # on port 4317
http: # on port 4318
```
So i change the port like this:
```
plugin_attr:
opentelemetry:
trace_id_source: x-request-id
resource:
service.name: APISIX
collector:
address: 127.0.0.1:4318 # ← success
request_timeout: 3
batch_span_processor:
drop_on_queue_full: false
max_queue_size: 1024
batch_timeout: 2
inactive_timeout: 1
max_export_batch_size: 2
```
no other question, bang bang da.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]