Skip to content

Commit

Permalink
调整:事件订阅不再关联上级AppName
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed May 6, 2024
1 parent 179dd1c commit 5cd71d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions traceManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,12 @@ func (*traceManager) EntryMqConsumer(server string, queueName string, routingKey

// EntryQueueConsumer queue 消费埋点
func (*traceManager) EntryQueueConsumer(queueName, subscribeName string) trace.ITraceContext {
traceId := parse.ToString(sonyflake.GenerateId())
context := &TraceContext{
AppId: parse.ToString(core.AppId),
AppName: core.AppName,
AppIp: core.AppIp,
ParentAppName: "",
TraceId: traceId,
TraceId: parse.ToString(sonyflake.GenerateId()),
StartTs: time.Now().UnixMicro(),
TraceType: eumTraceType.QueueConsumer,
ConsumerContext: ConsumerContext{
Expand Down

0 comments on commit 5cd71d3

Please sign in to comment.