You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/02/18 07:45:23 UTC
[GitHub] [skywalking-nginx-lua] dmsolr commented on a change in pull request #95: feat: support update the peer before requesting outgoing
dmsolr commented on a change in pull request #95:
URL: https://github.com/apache/skywalking-nginx-lua/pull/95#discussion_r809745116
##########
File path: lib/skywalking/tracer.lua
##########
@@ -28,9 +28,7 @@ local nginxComponentId = 6000
local Tracer = {}
-function Tracer:start(upstream_name, correlation)
- local log = ngx.log
- local WARN = ngx.WARN
+function Tracer:start(upstream_name, correlation, is_propagation)
Review comment:
It will not set the propagation header to request when the is_propagation is false.
If the peer is updated, the propagation header will become invalidated.
So I add this parameter for disabling propagation header when the one want to update they peer.
Surely, I added a method for manual propagation in right moment.
--
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: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org