tracing(app): set a tag for userid on awsCollector.Report

This commit is contained in:
Bryan Boreham
2019-09-15 19:22:08 +00:00
parent 852b7cd4c0
commit 04af634065

View File

@@ -370,6 +370,7 @@ func (c *awsCollector) Report(ctx context.Context, timestamp time.Time) (report.
if err != nil {
return report.MakeReport(), err
}
span.SetTag("userid", userid)
end := timestamp
start := end.Add(-c.cfg.Window)
reportKeys, err := c.getReportKeys(ctx, userid, start, end)