Skip to content

Commit

Permalink
feat: Tracemap add header
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaochaoren1 authored and SongZhen0704 committed Jul 12, 2024
1 parent c0d0c96 commit ab692dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/querier/app/distributed_tracing/router/tracemap.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func traceMap(cfg *config.QuerierConfig, generator *tracemap.TraceMapGenerator)
args.Context = c.Request.Context()
args.OrgID = c.Request.Header.Get(common.HEADER_KEY_X_ORG_ID)
c.Header("Content-Type", "application/json")
c.Header("Transfer-Encoding", "chunked")
done := make(chan bool)
go tracemap.TraceMap(args, cfg, c, done, generator)
<-done
Expand Down

0 comments on commit ab692dd

Please sign in to comment.