apisix icon indicating copy to clipboard operation
apisix copied to clipboard

help request: How to Add TraceId and SpanId in APISIX Logs Without Configuring Zipkin Endpoint or Sample Ratio?​

Open lchpersonal opened this issue 7 months ago • 1 comments

Description

I want to use the trace log feature of apisix, but I don't want to perform trace log visualization collection (like zipkin), I just need to add traceId and spanId when the service prints logs, but I found that the official zipkin plugin configuration must set parameters such as endpoint、sample_ratio.

How can I not configure the endpoint、sample_ratio?

Environment

APISIX version (run apisix version): 3.12 Operating system (run uname -a): Linux 172.30.94.83 5.10.0-60.18.0.50.oe2203.x86_64 https://github.com/apache/apisix/pull/1 SMP Wed Mar 30 03:12:24 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux OpenResty / Nginx version (run openresty -V or nginx -V): openresty/1.27.1.1 etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): etcd_version":"3.4.0 APISIX Dashboard version, if relevant: Plugin runner version, for issues related to plugin runners: LuaRocks version, for installation issues (run luarocks --version):

lchpersonal avatar May 23 '25 03:05 lchpersonal

Not currently supported.

Baoyuantop avatar May 23 '25 06:05 Baoyuantop