You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by ��������� <94...@gmail.com> on 2019/11/26 12:14:25 UTC
How can I customer the trace Id with skywalking?
According my company already had the ID generation algorithm to generate the trace Id,
which it was in used.
And I find the skywalking,the trace Id was default generation , and I can't extend it.
Also I find the `ContextManagerExtendService` can do some thing before the traceContext created .
But the only way I can do was extend the `TraceIgnoreExtendService` and Override the `createTraceContext` method.
I think the better way was the skywalking create a default `TraceContext` to let user how to modify it.
just like what I confuse in this code
https://github.com/apache/skywalking/commit/e0b7306e5ddae91adc0faf09f505dee9401ded01
After all I am not good at English. hope some people know what I say.
Re: How can I customer the trace Id with skywalking?
Posted by 吴晟 Sheng Wu <wu...@foxmail.com>.
Hi, Zhuosi Chen
ID mechanism lock in private has reason, which is
Our analysis, storage, protocol and sampling are based on this. There is no point to provide extension.
And you should, Mail to dev-subscribe@skywalking.apache.org, follow the reply to subscribe the mail list. Then you could send and receive reply from the mail list. This time, I did manually.
Sheng Wu 吴晟
From Wu Sheng 's phone.
------------------ Original ------------------
From: 陈卓思 <94muxin@gmail.com>
Date: Tue,Nov 26,2019 8:29 PM
To: dev <dev@skywalking.apache.org>
Subject: Re: How can I customer the trace Id with skywalking?
According my company already had the ID generation algorithm to generate the trace Id,
which it was in used.
And I find the skywalking,the trace Id was default generation , and I can't extend it.
Also I find the `ContextManagerExtendService` can do some thing before the traceContext created .
But the only way I can do was extend the `TraceIgnoreExtendService` and Override the `createTraceContext` method.
I think the better way was the skywalking create a default `TraceContext` to let user how to modify it.
just like what I confuse in this code
https://github.com/apache/skywalking/commit/e0b7306e5ddae91adc0faf09f505dee9401ded01
After all I am not good at English. hope some people know what I say.