You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by BestFS <11...@qq.com> on 2020/02/10 09:33:14 UTC

回复: Question about Dependency Map?

Yes,like you said,endpointA exposed in ServiceA, endpointB exposed in ServiceB,endpointC exposed in ServiceC. endpointA&nbsp;will request endpointB,endpointB will request endpointC.&nbsp; we say endpointA depends on endpointC too. So this format that endpointA depends on endpointC will show in dependency map.&nbsp;Am I right?


------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"Sheng Wu"<wu.sheng.841108@gmail.com&gt;;
发送时间:&nbsp;2020年2月10日(星期一) 下午4:42
收件人:&nbsp;"dev"<dev@skywalking.apache.org&gt;;

主题:&nbsp;Re: Question about Dependency Map?



First, you need to understand what is an endpoint,
https://github.com/apache/skywalking/blob/master/docs/en/concepts-and-designs/overview.md#why-use-skywalking
Then, the dependency should be clear. Such as, endpointA exposed in
ServiceA, endpointB exposed in ServiceB. If you endpointA internal logical,
it will request endpointB, then we we say endpointA depends on endpointB.
It keeps the same logic as service dependency.

Sheng Wu 吴晟
Twitter, wusheng1108


BestFS <1148607441@qq.com&gt; 于2020年2月10日周一 下午4:31写道:

&gt; Dear all dev
&gt; Could you explain about dependency map in endpoint? What does it mainly
&gt; do?What does it focus on?For example,there is a path
&gt; A-&amp;gt;B-&amp;gt;C-&amp;gt;D.Dependency map in D endpoint&amp;nbsp; show
&gt; (A-&amp;gt;D,B-&amp;gt;D,C-&amp;gt;D) or (C-&amp;gt;D) ? If I wanna get format with
&gt; (C-&amp;gt;D),What i need to do ?

回复: Question about Dependency Map?

Posted by BestFS <11...@qq.com>.
Dear Wu, Thank you for your instruction!





------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"Sheng Wu"<wu.sheng.841108@gmail.com&gt;;
发送时间:&nbsp;2020年2月10日(星期一) 晚上8:25
收件人:&nbsp;"dev"<dev@skywalking.apache.org&gt;;

主题:&nbsp;Re: Question about Dependency Map?



Yes. You could use the Graphql to traverse the dependency relationship, it
is not hard to do, and data has been there already.

Sheng Wu 吴晟
Twitter, wusheng1108


BestFS <1148607441@qq.com&gt; 于2020年2月10日周一 下午5:52写道:

&gt; the hard/direct dependency mains for A-&amp;gt;B-&amp;gt;C ,endpointC 's
&gt; dependency map only show B-&amp;gt;C ?
&gt;
&gt;
&gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
&gt; 发件人:&amp;nbsp;"Sheng Wu"<wu.sheng.841108@gmail.com&amp;gt;;
&gt; 发送时间:&amp;nbsp;2020年2月10日(星期一) 下午5:47
&gt; 收件人:&amp;nbsp;"dev"<dev@skywalking.apache.org&amp;gt;;
&gt;
&gt; 主题:&amp;nbsp;Re: Question about Dependency Map?
&gt;
&gt;
&gt;
&gt; No, it doesn't. Dependency propagation is only logically, SkyWalking is
&gt; detecting the hard/direct dependency.
&gt;
&gt; Sheng Wu 吴晟
&gt; Twitter, wusheng1108
&gt;
&gt;
&gt; BestFS <1148607441@qq.com&amp;gt; 于2020年2月10日周一 下午5:33写道:
&gt;
&gt; &amp;gt; Yes,like you said,endpointA exposed in ServiceA, endpointB exposed in
&gt; &amp;gt; ServiceB,endpointC exposed in ServiceC. endpointA&amp;amp;nbsp;will
&gt; request
&gt; &amp;gt; endpointB,endpointB will request endpointC.&amp;amp;nbsp; we say
&gt; endpointA depends
&gt; &amp;gt; on endpointC too. So this format that endpointA depends on endpointC
&gt; will
&gt; &amp;gt; show in dependency map.&amp;amp;nbsp;Am I right?
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; ------------------&amp;amp;nbsp;原始邮件&amp;amp;nbsp;------------------
&gt; &amp;gt; 发件人:&amp;amp;nbsp;"Sheng Wu"<wu.sheng.841108@gmail.com&amp;amp;gt;;
&gt; &amp;gt; 发送时间:&amp;amp;nbsp;2020年2月10日(星期一) 下午4:42
&gt; &amp;gt; 收件人:&amp;amp;nbsp;"dev"<dev@skywalking.apache.org&amp;amp;gt;;
&gt; &amp;gt;
&gt; &amp;gt; 主题:&amp;amp;nbsp;Re: Question about Dependency Map?
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; First, you need to understand what is an endpoint,
&gt; &amp;gt;
&gt; &amp;gt;
&gt; https://github.com/apache/skywalking/blob/master/docs/en/concepts-and-designs/overview.md#why-use-skywalking
&gt; &amp;gt
&gt; <https://github.com/apache/skywalking/blob/master/docs/en/concepts-and-designs/overview.md#why-use-skywalking&amp;gt&gt;;
&gt; Then, the dependency should be clear. Such as, endpointA exposed in
&gt; &amp;gt; ServiceA, endpointB exposed in ServiceB. If you endpointA internal
&gt; logical,
&gt; &amp;gt; it will request endpointB, then we we say endpointA depends on
&gt; endpointB.
&gt; &amp;gt; It keeps the same logic as service dependency.
&gt; &amp;gt;
&gt; &amp;gt; Sheng Wu 吴晟
&gt; &amp;gt; Twitter, wusheng1108
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; BestFS <1148607441@qq.com&amp;amp;gt; 于2020年2月10日周一 下午4:31写道:
&gt; &amp;gt;
&gt; &amp;gt; &amp;amp;gt; Dear all dev
&gt; &amp;gt; &amp;amp;gt; Could you explain about dependency map in endpoint? What
&gt; does it
&gt; &amp;gt; mainly
&gt; &amp;gt; &amp;amp;gt; do?What does it focus on?For example,there is a path
&gt; &amp;gt; &amp;amp;gt; A-&amp;amp;amp;gt;B-&amp;amp;amp;gt;C-&amp;amp;amp;gt;D.Dependency map
&gt; in D
&gt; &amp;gt; endpoint&amp;amp;amp;nbsp; show
&gt; &amp;gt; &amp;amp;gt; (A-&amp;amp;amp;gt;D,B-&amp;amp;amp;gt;D,C-&amp;amp;amp;gt;D) or
&gt; (C-&amp;amp;amp;gt;D) ? If I wanna
&gt; &amp;gt; get format with
&gt; &amp;gt; &amp;amp;gt; (C-&amp;amp;amp;gt;D),What i need to do ?

Re: Question about Dependency Map?

Posted by Sheng Wu <wu...@gmail.com>.
Yes. You could use the Graphql to traverse the dependency relationship, it
is not hard to do, and data has been there already.

Sheng Wu 吴晟
Twitter, wusheng1108


BestFS <11...@qq.com> 于2020年2月10日周一 下午5:52写道:

> the hard/direct dependency mains for A-&gt;B-&gt;C ,endpointC 's
> dependency map only show B-&gt;C ?
>
>
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:&nbsp;"Sheng Wu"<wu.sheng.841108@gmail.com&gt;;
> 发送时间:&nbsp;2020年2月10日(星期一) 下午5:47
> 收件人:&nbsp;"dev"<dev@skywalking.apache.org&gt;;
>
> 主题:&nbsp;Re: Question about Dependency Map?
>
>
>
> No, it doesn't. Dependency propagation is only logically, SkyWalking is
> detecting the hard/direct dependency.
>
> Sheng Wu 吴晟
> Twitter, wusheng1108
>
>
> BestFS <1148607441@qq.com&gt; 于2020年2月10日周一 下午5:33写道:
>
> &gt; Yes,like you said,endpointA exposed in ServiceA, endpointB exposed in
> &gt; ServiceB,endpointC exposed in ServiceC. endpointA&amp;nbsp;will
> request
> &gt; endpointB,endpointB will request endpointC.&amp;nbsp; we say
> endpointA depends
> &gt; on endpointC too. So this format that endpointA depends on endpointC
> will
> &gt; show in dependency map.&amp;nbsp;Am I right?
> &gt;
> &gt;
> &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
> &gt; 发件人:&amp;nbsp;"Sheng Wu"<wu.sheng.841108@gmail.com&amp;gt;;
> &gt; 发送时间:&amp;nbsp;2020年2月10日(星期一) 下午4:42
> &gt; 收件人:&amp;nbsp;"dev"<dev@skywalking.apache.org&amp;gt;;
> &gt;
> &gt; 主题:&amp;nbsp;Re: Question about Dependency Map?
> &gt;
> &gt;
> &gt;
> &gt; First, you need to understand what is an endpoint,
> &gt;
> &gt;
> https://github.com/apache/skywalking/blob/master/docs/en/concepts-and-designs/overview.md#why-use-skywalking
> &gt
> <https://github.com/apache/skywalking/blob/master/docs/en/concepts-and-designs/overview.md#why-use-skywalking&gt>;
> Then, the dependency should be clear. Such as, endpointA exposed in
> &gt; ServiceA, endpointB exposed in ServiceB. If you endpointA internal
> logical,
> &gt; it will request endpointB, then we we say endpointA depends on
> endpointB.
> &gt; It keeps the same logic as service dependency.
> &gt;
> &gt; Sheng Wu 吴晟
> &gt; Twitter, wusheng1108
> &gt;
> &gt;
> &gt; BestFS <1148607441@qq.com&amp;gt; 于2020年2月10日周一 下午4:31写道:
> &gt;
> &gt; &amp;gt; Dear all dev
> &gt; &amp;gt; Could you explain about dependency map in endpoint? What
> does it
> &gt; mainly
> &gt; &amp;gt; do?What does it focus on?For example,there is a path
> &gt; &amp;gt; A-&amp;amp;gt;B-&amp;amp;gt;C-&amp;amp;gt;D.Dependency map
> in D
> &gt; endpoint&amp;amp;nbsp; show
> &gt; &amp;gt; (A-&amp;amp;gt;D,B-&amp;amp;gt;D,C-&amp;amp;gt;D) or
> (C-&amp;amp;gt;D) ? If I wanna
> &gt; get format with
> &gt; &amp;gt; (C-&amp;amp;gt;D),What i need to do ?

回复: Question about Dependency Map?

Posted by BestFS <11...@qq.com>.
the hard/direct dependency mains for A-&gt;B-&gt;C ,endpointC 's dependency map only show B-&gt;C ?


------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"Sheng Wu"<wu.sheng.841108@gmail.com&gt;;
发送时间:&nbsp;2020年2月10日(星期一) 下午5:47
收件人:&nbsp;"dev"<dev@skywalking.apache.org&gt;;

主题:&nbsp;Re: Question about Dependency Map?



No, it doesn't. Dependency propagation is only logically, SkyWalking is
detecting the hard/direct dependency.

Sheng Wu 吴晟
Twitter, wusheng1108


BestFS <1148607441@qq.com&gt; 于2020年2月10日周一 下午5:33写道:

&gt; Yes,like you said,endpointA exposed in ServiceA, endpointB exposed in
&gt; ServiceB,endpointC exposed in ServiceC. endpointA&amp;nbsp;will request
&gt; endpointB,endpointB will request endpointC.&amp;nbsp; we say endpointA depends
&gt; on endpointC too. So this format that endpointA depends on endpointC will
&gt; show in dependency map.&amp;nbsp;Am I right?
&gt;
&gt;
&gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
&gt; 发件人:&amp;nbsp;"Sheng Wu"<wu.sheng.841108@gmail.com&amp;gt;;
&gt; 发送时间:&amp;nbsp;2020年2月10日(星期一) 下午4:42
&gt; 收件人:&amp;nbsp;"dev"<dev@skywalking.apache.org&amp;gt;;
&gt;
&gt; 主题:&amp;nbsp;Re: Question about Dependency Map?
&gt;
&gt;
&gt;
&gt; First, you need to understand what is an endpoint,
&gt;
&gt; https://github.com/apache/skywalking/blob/master/docs/en/concepts-and-designs/overview.md#why-use-skywalking
&gt; Then, the dependency should be clear. Such as, endpointA exposed in
&gt; ServiceA, endpointB exposed in ServiceB. If you endpointA internal logical,
&gt; it will request endpointB, then we we say endpointA depends on endpointB.
&gt; It keeps the same logic as service dependency.
&gt;
&gt; Sheng Wu 吴晟
&gt; Twitter, wusheng1108
&gt;
&gt;
&gt; BestFS <1148607441@qq.com&amp;gt; 于2020年2月10日周一 下午4:31写道:
&gt;
&gt; &amp;gt; Dear all dev
&gt; &amp;gt; Could you explain about dependency map in endpoint? What does it
&gt; mainly
&gt; &amp;gt; do?What does it focus on?For example,there is a path
&gt; &amp;gt; A-&amp;amp;gt;B-&amp;amp;gt;C-&amp;amp;gt;D.Dependency map in D
&gt; endpoint&amp;amp;nbsp; show
&gt; &amp;gt; (A-&amp;amp;gt;D,B-&amp;amp;gt;D,C-&amp;amp;gt;D) or (C-&amp;amp;gt;D) ? If I wanna
&gt; get format with
&gt; &amp;gt; (C-&amp;amp;gt;D),What i need to do ?

Re: Question about Dependency Map?

Posted by Sheng Wu <wu...@gmail.com>.
No, it doesn't. Dependency propagation is only logically, SkyWalking is
detecting the hard/direct dependency.

Sheng Wu 吴晟
Twitter, wusheng1108


BestFS <11...@qq.com> 于2020年2月10日周一 下午5:33写道:

> Yes,like you said,endpointA exposed in ServiceA, endpointB exposed in
> ServiceB,endpointC exposed in ServiceC. endpointA&nbsp;will request
> endpointB,endpointB will request endpointC.&nbsp; we say endpointA depends
> on endpointC too. So this format that endpointA depends on endpointC will
> show in dependency map.&nbsp;Am I right?
>
>
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:&nbsp;"Sheng Wu"<wu.sheng.841108@gmail.com&gt;;
> 发送时间:&nbsp;2020年2月10日(星期一) 下午4:42
> 收件人:&nbsp;"dev"<dev@skywalking.apache.org&gt;;
>
> 主题:&nbsp;Re: Question about Dependency Map?
>
>
>
> First, you need to understand what is an endpoint,
>
> https://github.com/apache/skywalking/blob/master/docs/en/concepts-and-designs/overview.md#why-use-skywalking
> Then, the dependency should be clear. Such as, endpointA exposed in
> ServiceA, endpointB exposed in ServiceB. If you endpointA internal logical,
> it will request endpointB, then we we say endpointA depends on endpointB.
> It keeps the same logic as service dependency.
>
> Sheng Wu 吴晟
> Twitter, wusheng1108
>
>
> BestFS <1148607441@qq.com&gt; 于2020年2月10日周一 下午4:31写道:
>
> &gt; Dear all dev
> &gt; Could you explain about dependency map in endpoint? What does it
> mainly
> &gt; do?What does it focus on?For example,there is a path
> &gt; A-&amp;gt;B-&amp;gt;C-&amp;gt;D.Dependency map in D
> endpoint&amp;nbsp; show
> &gt; (A-&amp;gt;D,B-&amp;gt;D,C-&amp;gt;D) or (C-&amp;gt;D) ? If I wanna
> get format with
> &gt; (C-&amp;gt;D),What i need to do ?