add-track: 补充轨迹推送链路跟踪参数
This commit is contained in:
parent
e0c18bda20
commit
7d5b81683d
@ -387,7 +387,10 @@ public class TrackPushEventHandler : ITransientDependency, ICapSubscribe
|
||||
{
|
||||
var res = await _httpClientProxy.Service.GetSystemInterfaceByIdAsync(_options.CurrentValue.PushTrackInterfaceCode, _options.CurrentValue.PushTrackInterfaceId);
|
||||
if (res == null) return new List<string>();
|
||||
span.SetTag("request-GetSystemInterfaceByIdAsync", $"{subSystemCode},{_options.CurrentValue.PushTrackInterfaceCode},{_options.CurrentValue.PushTrackInterfaceId}");
|
||||
span.SetTag("request-GetSystemInterfaceByIdAsync", $"PushTrackInterfaceCode[{subSystemCode}]," +
|
||||
$"PushTrackInterfaceCode:[{_options.CurrentValue.PushTrackInterfaceCode}]," +
|
||||
$"PushTrackInterfaceId:[{_options.CurrentValue.PushTrackInterfaceId}]," +
|
||||
$"PushTrackItemParamAliasPrefix:[{_options.CurrentValue.PushTrackItemParamAliasPrefix}]");
|
||||
span.SetTag("response-GetSystemInterfaceByIdAsync", res.ToJson());
|
||||
return res.InParameterList
|
||||
.Where(x => x.Alias.StartsWith(_options.CurrentValue.PushTrackItemParamAliasPrefix))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user